Forum Moderators: bakedjake

Message Too Old, No Replies

Root hints in Ubuntu

         

abrodski

4:28 am on Oct 26, 2015 (gmt 0)

10+ Year Member



Hello!

I've checked the /etc/bind/db.root text file and all the root name server IP's are current (I've checked the IP's one by one). So BIND9 reads this file and knows how to find root servers.
The output of dig . ns command shows me this. Why I can't see in the output the actual IP addresses? Is that normal?

;; ANSWER SECTION:
. 13309 IN NS i.root-servers.net.
. 13309 IN NS e.root-servers.net.
. 13309 IN NS g.root-servers.net.
. 13309 IN NS d.root-servers.net.
. 13309 IN NS b.root-servers.net.
. 13309 IN NS a.root-servers.net.
. 13309 IN NS m.root-servers.net.
. 13309 IN NS l.root-servers.net.
. 13309 IN NS k.root-servers.net.
. 13309 IN NS j.root-servers.net.
. 13309 IN NS f.root-servers.net.
. 13309 IN NS c.root-servers.net.
. 13309 IN NS h.root-servers.net.


Then why some people include this in their configuration files?

zone "." {
type hint;
file "root.hints";
};

OR:

zone "." {
type hint;
file "db.root";
};

Hoople

7:16 am on Nov 2, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I just ran that DNS search on my Ubuntu 15. desktop and the result had an ANSWER SECTION: identical to yours and an 'ADDITIONAL SECTION' with the IP's in IP4 and IP6 format.

A guess - is your dig command not set verbose? Mine <<>> DiG 9.9.5-11ubuntu1-Ubuntu <<>>