Bug 415781 - Problem parsing root hints file
Summary: Problem parsing root hints file
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: bind
Version: 8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-07 16:12 UTC by jon
Modified: 2013-04-30 23:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-12-10 08:46:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description jon 2007-12-07 16:12:02 UTC
Description of problem:
named complains in an error in my named.ca file.

[root@tmphost etc]# service named start
Starting named:
Error in named configuration:
/etc/named.ca:1: '}' expected near ';'
                                                           [FAILED]

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:
view    "external"
{
        include "/etc/named.ca";

};


Version-Release number of selected component (if applicable):
[root@tmphost ~]# named -v
BIND 9.5.0a7



How reproducible:


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
  
Actual results:
Error message listed above

Expected results:
Service should start?

Additional info:

Comment 1 jon 2007-12-07 19:24:49 UTC
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.

Comment 2 Adam Tkac 2007-12-10 08:46:12 UTC
(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




Note You need to log in before you can comment on or make changes to this bug.