LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-27-2007, 05:34 AM   #1
bzlaskar
Member
 
Registered: May 2006
Location: Bangalore, INDIA
Distribution: Fedora Core
Posts: 69
Blog Entries: 2

Rep: Reputation: 17
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.
 
Old 12-27-2007, 01:40 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what does it mean auth-nxdomain yes; at named.conf by BIND 9 cccc Linux - Networking 1 11-21-2011 11:02 PM
Bind have lost some zone in named.conf & lost db file achilles Linux - Enterprise 0 04-19-2007 06:22 AM
DNS: Named.conf don point to zone file Swakoo Linux - General 3 09-27-2005 07:02 PM
BIND -named.conf ryanc75 Linux - General 3 09-19-2005 02:57 AM
Problems with the named.conf-file configuration dmarkic Linux - Networking 3 07-07-2005 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration