LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-21-2007, 02:59 PM   #1
mnm_mc
Member
 
Registered: Sep 2004
Distribution: SuSE 10 & RedHat
Posts: 35

Rep: Reputation: 15
Question 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!
 
Old 05-22-2007, 01:55 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,173
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
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).
 
Old 05-22-2007, 09:19 AM   #3
mnm_mc
Member
 
Registered: Sep 2004
Distribution: SuSE 10 & RedHat
Posts: 35

Original Poster
Rep: Reputation: 15
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...
 
  


Reply



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
DNS zone file help mnm_mc Linux - Networking 4 11-27-2006 03:28 PM
Cache DNS server and zone file DanielTan Linux - Networking 7 09-26-2005 11:00 AM
DNS zone file question DanielTan Linux - General 3 09-21-2005 09:52 PM
Need help with DNS zone file please:-) TippyToes Linux - Networking 5 04-28-2004 05:32 PM
RFC - DNS - what is required in a zone file Bluesuperman General 0 02-25-2003 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:28 AM.

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