Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
But another file is there , named.rfc1912.zones which is having
format as /etc/named.conf .
If I rename named.rfc1912.zones to named.conf and restart the
service , it fails with the following errors.
Stopping named: [FAILED]
Error in named configuration:
zone localdomain/IN: loading master file localdomain.zone: file not
_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
_default/0.0.127.in-addr.arpa/IN: file not found
IN: loading master file named.ip6.local: file not found
IN: file not found
zone 255.in-addr.arpa/IN: loading master file named.broadcast: file
_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
f I configure named.rfc1912.zones , named works fine and name
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
If that is not the case , please let me know how to configure
with the later versions of Bind.
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.