Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH Lectures notes for 2010 - KTH

20.01.2014 Views

DNS Message format 0 16 31 Identification Number of Questions Numer of authority Question section … Answer section … Additional Information section … Parameters Number of Answers Number of Additional Bit or Parameter field Meaning 0 Operation: 0=Query, 1=Response 1-4 Query type: 0=standard, 1=Inverse 5 Set if answer is authoritative 6 Set if answer is truncate 7 Set if answer is desired 8 Set if answer is available 9-11 reserved 12-15 Response Type: 0=No error, 1=Format error in query, 2=Server failure, 3=Name does not exist Maguire DNS Message format 4: 46 of 74 maguire@kth.se 2010.03.21 Internetworking/Internetteknik

(see Stevens, Vol. 1, figure 14.2, pg. 189) Domain com edu gov int mil net org arpa ae … se zw Internet’s top level domains Description commercial organizations educational organizations other U.S. government organizations (see RFC 1811 for policies) international organizations U.S. Military networks other organizations special domain for address to name mappings, e.g., 5.215.237.130.in-addr.arpa United Arab Emerates Sweden Zimbabwe Lots of interest in having subdomains of “com” ♦ companies registering product names, etc. - in some cases asking for 10s of addresses ♦ who gets to use a given name? problems with registered trade marks, who registered the name first, … [How much is a name worth?] Maguire Internet’s top level domains 4: 47 of 74 maguire@kth.se 2010.03.21 Internetworking/Internetteknik

DNS Message <strong>for</strong>mat<br />

0 16 31<br />

Identification<br />

Number of Questions<br />

Numer of authority<br />

Question section<br />

…<br />

Answer section<br />

…<br />

Additional In<strong>for</strong>mation section<br />

…<br />

Parameters<br />

Number of Answers<br />

Number of Additional<br />

Bit or Parameter field<br />

Meaning<br />

0 Operation: 0=Query, 1=Response<br />

1-4 Query type: 0=standard, 1=Inverse<br />

5 Set if answer is authoritative<br />

6 Set if answer is truncate<br />

7 Set if answer is desired<br />

8 Set if answer is available<br />

9-11 reserved<br />

12-15 Response Type: 0=No error, 1=Format error in query, 2=Server failure,<br />

3=Name does not exist<br />

Maguire DNS Message <strong>for</strong>mat 4: 46 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!