where is named.root.hints file?

Jeremy C. Reed reed at reedmedia.net
Tue Aug 28 11:19:37 UTC 2007

On Tue, 28 Aug 2007, Hakki Aydin Ucar wrote:

> I am changing company server (HW) with a new machine 64bit I installed
> Fedora 7 64 with this in mind. Opened up DNS server. And made
> configurations according to internet web sites resource docs. The
> problem is about bind I use bind (fc7 is for fedora 7 I
> think)
> all docs are talking about 3 docs:
> named.conf
> named.root.hints
> named.root

Commonly on a Fedora system, the hints file is in /var/named/named.ca 

> I cannot find named.root find under /usr/share/doc/bind-9.4.1/sample,
> but all documents it is supposed to be there??
>  And when I copied from server such as:
> dig @a.root-servers.net . ns > /home/chroot-dns-int/var/named/root.hints.db

That looks correct to me.

> and renamed copied and tried to start names server ,but I got the error:
> /etc/named.root.hints:2: '}' expected near ';' [FAILED]
> but at this step I am not sure I am doing the right thing,

That error looks like you are using named.root.hints as your named 
configuration (instead of or included by named.conf). The hints file is a 
zone file not a named configuration.

For now, just get rid of hints. As your BIND has a built-in default list 
of root server hints (for IN class).

> I also
> cannot find "named.root.hints" under /usr/share/doc/bind-9.4.1/sample
> ???
> I got stuck on this step, is there anybody help me or recommend a
> generic setup procedure for Linux DNS ??
> Thanks in advance

  Jeremy C. Reed

More information about the bind-users mailing list