LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DNS Zone file help (https://www.linuxquestions.org/questions/linux-networking-3/dns-zone-file-help-555620/)

mnm_mc 05-21-2007 02:59 PM

DNS Zone file help
 
hope someone has the answer.......:)

Heres the problem:

I cannot figure out where the file is suppossed to reside, from what I have read it may go is /var/lib/named?

Also when running named -u named -g I get the following msg:

21-May-2007 13:12:00.899 zone 40.157.34.207.in-addr.arpa/IN: loading master file 207.34.157.40.zone: file not found

So is it looking for a file named :"207.34.157.40.zone" and if so what directiory is it supposed to be in?

I have the rest running ok but it seems that the Reverse Zone is the issue....?

thanks to anyone who can help!

bathory 05-22-2007 01:55 AM

You should take a look at /etc/named.conf for a line starting with "directory", which points to the directory where the zone files are. Also take a look for the zone definition, since you can override there the global directory setting using an absolute path to another directory. Mind that if you run named chrooted then those paths are relative to the chroot directory.
Note also that those dirs must be readable/writeable by the user running named (that's named in your case).

mnm_mc 05-22-2007 09:19 AM

Thanks
 
Quote:

Originally Posted by bathory
You should take a look at /etc/named.conf for a line starting with "directory", which points to the directory where the zone files are. Also take a look for the zone definition, since you can override there the global directory setting using an absolute path to another directory. Mind that if you run named chrooted then those paths are relative to the chroot directory.
Note also that those dirs must be readable/writeable by the user running named (that's named in your case).

Thanks! mucho appreciated and will check those items out...


All times are GMT -5. The time now is 08:49 PM.