reg named.conf configuration file in bind 9.3.4

Adam Tkac atkac at redhat.com
Thu Dec 27 15:53:42 UTC 2007


On Thu, Dec 27, 2007 at 01:53:38PM +0530, B Zaman Laskar wrote:
> Greetings All,
>     I have installed  the Bind DNS package  in Fedora Core 6. The Bind
>     version is 9.3.4.

Fedora Core 6 is EOL. I strongly recommend you update that machine to
Fedora 7 or Fedora 8 because you won't get any update (also security) to FC6.

>     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]
>  ""

Please check what configuration file named uses. You will see it in
system log.

> 
>  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 .

named.rfc1912.zones is configuration for common zones (like localhost.
127.in-addr.arpa. etc). Main configuration file (named.conf or
named.caching-nameserver.conf) includes it.

> 
> 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.

How use named.conf as configuration file? Simply create it :)
Initscript shipped in bind package has this behavior:

<= Fedora 7:
- if /etc/named.caching-nameserver.conf exists, use it (script passes -c
  /etc/named.caching-nameserver.conf option to named)
- in other cases use default file (/etc/named.conf)

- Fedora 8 and newer
- caching-nameserver package is removed, default configuration is
  shipped in main bind package, /etc/named.conf is used everytime

Adam

-- 
Adam Tkac, Red Hat, Inc.



More information about the bind-users mailing list