3

I ran the following command on linux

>> dig .

I got the following response

;; AUTHORITY SECTION:
.           281 IN  SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM.     2010032400 1800 900 604800 86400
  1. why does the response not contain the IP address of the root server?
  2. what do the numbers at the end of the reply mean. one of them is probably (definitely) the date.
  3. why does it report 2 root servers a.root and nstld.verisign?
  4. when i send the following queries

    dig com.

    ;; AUTHORITY SECTION:com. 51 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1269425283 1800 900 604800 86400

again i do not get the ip addresses. when i query for the gtld server specified i can get the ip address. why is the response of dig net. same as that of dig com. except that instead of 51 we have 19 in the response.

4
  • Anything in .digrc? Do you get the same result if you run /usr/bin/dig?
    – Fred
    Mar 24 '10 at 13:17
  • no .digrc file found Mar 24 '10 at 19:38
  • /usr/bin/dig . gives no response. but for others same response. Mar 24 '10 at 19:38
  • i am expecting additional records containing ip addresses. Mar 24 '10 at 19:40
8

"why does the response not contain the IP address of the root server?"

Because you did not ask for it. dig NS . will give you the names of the root name serverS, together with the IP addresses.

"what do the numbers at the end of the reply mean. one of them is probably (definitely) the date."

No, it is the serial number of the root zone, which may be encoded as a date but not always (compare the root with .com or .fr). The other numbers are useful only for the secondary name servers and are described in RFC 1035, section 3.3.13 (note the last number, Minimum, acquired a new meaning since RFC 1035 was issued).

"why does it report 2 root servers a.root and nstld.verisign?"

No, it does not. NSTLD.VERISIGN-GRS.COM is the email address of the zone manager (the @ has a special signification in traditional zone files, so it is replaced by the first dot).

"why is the response of dig net. same as that of dig com. except that instead of 51 we have 19 in the response."

This is the TTL (Time To Live) and it decreases at each query. Try dig com several times.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.