20.01.2014 Views

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DNS: Domain Name Service<br />

(RFC 1034, RFC 1035)<br />

• To make the network more user friendly<br />

• Distributed database (with caching) providing:<br />

• hostname ⇒ IP address, IP address⇒ hostname<br />

• mailbox ⇒ mail server<br />

• …<br />

• applications call a “resolver”<br />

• gethostbyname: hostname ⇒ IP address<br />

• gethostbyaddr: IP address⇒ hostname<br />

• Resolver’s contact name servers (see “/etc/resolv.conf”)<br />

• DNS names:<br />

• domain name: list of labels from a root, i.e., www.imit.kth.se<br />

• Fully Qualified Name (FQDN): a domain name ending in “.” - there are no further labels<br />

• leaves are managed locally through delegation of authority (to a zone) not centrally;<br />

this allows scaling<br />

• if a name server does not know the answer it asks other name servers<br />

– every name server must know how to contact a root server<br />

• Uses UDP (<strong>for</strong> query) and TCP (zone transfer and large record query)<br />

Maguire DNS: Domain Name Service (RFC 1034, RFC 1035) 4: 44 of 74<br />

maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!