LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   reg named.conf configuration file of BIND DNS (http://www.linuxquestions.org/questions/linux-server-73/reg-named-conf-configuration-file-of-bind-dns-609370/)

bzlaskar 12-27-2007 05:34 AM

reg named.conf configuration file of BIND DNS
 
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 .
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 configure
named.conf
with the later versions of Bind.

With Thanks in Advance.

JimBass 12-27-2007 01:40 PM

BIND itself still looks for and expects a named.conf file. What probably happened with Fedora was that they changed the named of the named.conf file to named.rfc1912.zones. It is also possible that they put the named.conf file inside of the chroot they normally use for BIND. What has you confused isn't what BIND is doing, but what the Fedora package has done to BIND. If the package says the configuration file should be /etc/this_is_the_wrong_name, then that is the only file that will work.

If you want to use BIND as intended by ISC (the guys responsible for BIND), then uninstall the RPM version of BIND and install it from source. You can also just make changes to the named.rfc1912.zones file, if that works the difference in the name is the only thing you'll have to pay attention to.

Peace,
JimBass


All times are GMT -5. The time now is 04:01 AM.