BIND server doesn't generate zone files

Taking care of your Linux box.

BIND server doesn't generate zone files

Postby mashkoor.qadir » Mon Feb 14, 2011 12:23 pm

Dear all,
i have fresh installed Redhat enterprize linux 5 sever. Im configuring the BIND server that doesn't generate the zone files in side /var/named/chroot/var/named/ directory nor inside /var/named/. when i tried to restart the named service it fails with error message no zone files are found inside masters directory can any one guide in this regard.
Thanks in advance.
mashkoor.qadir
Lance Naik
 
Posts: 32
Joined: Mon Dec 20, 2010 10:27 pm
Yahoo Messenger: mashkoor.qadir@yahoo.com
Location: Karachi

Postby lambda » Mon Feb 14, 2011 5:56 pm

you should configure it to write the slave zone files into named/slaves or some subdirectory like that, and then make sure the directory is owned by the user bind runs as. one of the following two commands will work:

Code: Select all

chown bind:bind /var/named/chroot/var/named/slaves
chown named:named /var/named/chroot/var/named/slaves
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby mashkoor.qadir » Wed Feb 16, 2011 11:08 pm

thanks Dear,
i did that but it doesn't work, i reinstalled fresh BIND and now it is working.
mashkoor.qadir
Lance Naik
 
Posts: 32
Joined: Mon Dec 20, 2010 10:27 pm
Yahoo Messenger: mashkoor.qadir@yahoo.com
Location: Karachi


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 0 guests

cron