reg named.conf configuration file in bind 9.3.4

Steven Stromer filter at stevenstromer.com
Thu Dec 27 17:14:13 UTC 2007


In FC6 the named.conf file is not created at install. I've found that  
the following workaround creates all of the needed files correctly.  
If you haven't configured anything yet, you might just uninstall bind- 
chroot to follow the steps exactly, or you can try running system- 
config-bind (locally), and see if that alone is enough to generate  
the file.

1. yum install bind bind-libs bind-utils system-config-bind (not bind- 
chroot, yet)

2. Run system-config-bind (locally), and exit without creating any  
settings,
    which successfully creates the standard conf and zone files.

3. Install bind-chroot, which successfully creates the chroot  
directories,
    and all of the proper links.

Hope this helps,
Steven Stromer


On Dec 27, 2007, at 3:23 AM, B Zaman Laskar wrote:

> Greetings All,
>     I have installed  the Bind DNS package  in Fedora Core 6. The Bind
>     version is 9.3.4.
>     The /etc/named.conf which is provided by caching-nameserver is  
> missing.
>     But another file is there  , named.rfc1912.zones which is  
> having the
> same
>     format as /etc/named.conf .
>     If I rename named.rfc1912.zones  to named.conf and restart the  
> named
>     service , it fails with the following errors.
>
> ""
> Stopping named:                                            [FAILED]
> Starting named:
> Error in named configuration:
> zone localdomain/IN: loading master file localdomain.zone: file not
> found
> _default/localdomain/IN: file not found
> zone localhost/IN: loading master file localhost.zone: file not found
> _default/localhost/IN: file not found
> zone 0.0.127.in-addr.arpa/IN: loading master file named.local: file
> not found
> _default/0.0.127.in-addr.arpa/IN: file not found
> zone
> 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa 
> /
> IN: loading master file named.ip6.local: file not found
> _default/
> 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa 
> /
> IN: file not found
> zone 255.in-addr.arpa/IN: loading master file named.broadcast: file
> not found
> _default/255.in-addr.arpa/IN: file not found
> zone 0.in-addr.arpa/IN: loading master file named.zero: file not found
> _default/0.in-addr.arpa/IN: file not found
>                                                            [FAILED]
>  ""
>
>  f I configure named.rfc1912.zones , named works fine and name
> resolution occurs  for the configured domain.
>
>  So, I want to know whether with the current versions of bind ,
> named.conf has been  renamed to  named.rfc1912.zones .
>
> Also ,  Is it O.K to use  named.rfc1912.zones  as the bind  
> configuration
> file .  If that is not the case , please let me know how to   use
> named.conf  with the later versions of Bind.
>  With Thanks in Advance.
>
>
>
>



More information about the bind-users mailing list