Red Hat Bugzilla – Bug 415781
Problem parsing root hints file
Last modified: 2013-04-30 19:37:53 EDT
Description of problem:
named complains in an error in my named.ca file.
[root@tmphost etc]# service named start
Error in named configuration:
/etc/named.ca:1: '}' expected near ';'
Here's the first 5 lines:
[root@tmphost etc]# head -n 5 named.ca
; This file holds the information on root name servers needed to
; initialize cache of Internet domain name servers
; (e.g. reference this file in the "cache . <file>"
; configuration file of BIND domain name servers).
While testing this, I was using the following named.conf:
Version-Release number of selected component (if applicable):
[root@tmphost ~]# named -v
Steps to Reproduce:
1. Go to ISC.org, download root hints and save as named.ca
2. Install bind and bind-chroot, use named.conf from above
3. Start named
Error message listed above
Service should start?
Nevermind, apparently you can't include the root hints directly. You have to
include a root hints file with a zone "." of type hint. You can close this.
Recommend that you include a working named.root.hints which is reference in the
default installation to avoid the confusion in the future.
(In reply to comment #1)
> Recommend that you include a working named.root.hints which is reference in the
> default installation to avoid the confusion in the future.
F8 package already includes default configuration. BIND is shipped with
/etc/named.conf and /etc/named.rfc1912.zones . With this configuration BIND will
be used as caching nameserver