dig's answers

John Wobus jw354 at cornell.edu
Wed Feb 15 15:25:39 UTC 2006


dig gives me an answer that doesn't feel consistent to me.  Perhaps I 
don't know precisely
what it's defined to do.  At the bottom of this message is all the 
output for this command:
dig +trace ns1.plhhosting.com

What bothers me is there was no error message in this case, whereas the 
commands all finished up with a specific error message:
dig +trace plhhosting.com
dig +trace some-random-name.plhhosting.com
dig +trace onintelligence.org

The message is:
dig: Couldn't find server 'ns1.plhhosting.com': No address associated 
with nodename.

Nonrecursive queries to g.gtld-servers.net show that it does provide 
the glue.
It seems like dig +trace is being more stringent regarding looking up
ns1.plhhosting.com as a nameserver than as the answer to my direct 

John Wobus
Cornell CIT

$ dig +trace ns1.plhhosting.com

; <<>> DiG 9.2.2 <<>> +trace ns1.plhhosting.com
;; global options:  printcmd
.                       378229  IN      NS      J.ROOT-SERVERS.NET.
.                       378229  IN      NS      K.ROOT-SERVERS.NET.
.                       378229  IN      NS      L.ROOT-SERVERS.NET.
.                       378229  IN      NS      M.ROOT-SERVERS.NET.
.                       378229  IN      NS      A.ROOT-SERVERS.NET.
.                       378229  IN      NS      B.ROOT-SERVERS.NET.
.                       378229  IN      NS      C.ROOT-SERVERS.NET.
.                       378229  IN      NS      D.ROOT-SERVERS.NET.
.                       378229  IN      NS      E.ROOT-SERVERS.NET.
.                       378229  IN      NS      F.ROOT-SERVERS.NET.
.                       378229  IN      NS      G.ROOT-SERVERS.NET.
.                       378229  IN      NS      H.ROOT-SERVERS.NET.
.                       378229  IN      NS      I.ROOT-SERVERS.NET.
;; Received 436 bytes from in 22 ms

com.                    172800  IN      NS      A.GTLD-SERVERS.NET.
com.                    172800  IN      NS      G.GTLD-SERVERS.NET.
com.                    172800  IN      NS      H.GTLD-SERVERS.NET.
com.                    172800  IN      NS      C.GTLD-SERVERS.NET.
com.                    172800  IN      NS      I.GTLD-SERVERS.NET.
com.                    172800  IN      NS      B.GTLD-SERVERS.NET.
com.                    172800  IN      NS      D.GTLD-SERVERS.NET.
com.                    172800  IN      NS      L.GTLD-SERVERS.NET.
com.                    172800  IN      NS      F.GTLD-SERVERS.NET.
com.                    172800  IN      NS      J.GTLD-SERVERS.NET.
com.                    172800  IN      NS      K.GTLD-SERVERS.NET.
com.                    172800  IN      NS      E.GTLD-SERVERS.NET.
com.                    172800  IN      NS      M.GTLD-SERVERS.NET.
;; Received 508 bytes from in 148 

ns1.plhhosting.com.     172800  IN      A
plhhosting.com.         172800  IN      NS      ns1.plhhosting.com.
plhhosting.com.         172800  IN      NS      ns2.plhhosting.com.
;; Received 116 bytes from in 95 ms

More information about the bind-users mailing list