LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-24-2008, 04:11 AM   #1
tanvir118
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Rep: Reputation: 0
DNS problem?


I have allready setup DNS in RHEL5.
then when i type SERVICE NAMED START the following massage show:
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]

WHAT I AM DOING NOW?
 
Old 03-24-2008, 07:39 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Your directory option in named.conf is not pointing to the correct directory.

Also check if you are running chrooted that the directory structure and zone files exist under the chroot

To test your configuration use the command
Code:
named-checkconf
 
Old 03-25-2008, 05:02 AM   #3
tanvir118
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
i configure /etc/named.conf file which was i copyed from
/usr/share/doc/bind/sample/etc/named.rcf1912.zone to rename /etc/named.conf....
is it correct for DNS configure file named.conf?
named-chkconf then output is=
/etc/named.conf:53: 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': already exists previous definition: /etc/named.conf:36
/etc/named.conf:59: zone '255.in-addr.arpa': already exists previous definition: /etc/named.conf:42
/etc/named.conf:65: zone '0.in-addr.arpa': already exists previous definition: /etc/named.conf:48

what i am doing right now ?
 
Old 03-25-2008, 05:04 AM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
That is not correct, to get a correct sample file install caching-nameserver
 
  


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
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 09:59 PM
DNS Problem marius_vl Linux - Server 1 03-26-2007 09:21 AM
Problem with DNS yawe_frek Linux - Networking 14 02-12-2007 12:23 AM
DNS problem alvi2 Linux - Networking 3 05-13-2005 05:45 PM
A DNS Problem ktamit Linux - Networking 0 04-28-2002 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:45 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