LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-21-2009, 06:23 AM   #1
Revathi17
LQ Newbie
 
Registered: May 2009
Posts: 1
Blog Entries: 1

Rep: Reputation: 0
How to troubleshoot configuration errors on dns master server ?


Hi,

I'm trying to configure my dns master server but it prompts me with errors.I would appreciate if you could kindly help me with the troubleshooting.Given below is the error i received and the files i have configured. Thanks.

starting named:
Error in named configuration:
zone p0725763.com/IN: loaded serial 2005071101
zone 0.0.10.in-addr.arpa/IN: loaded serial 1997022700
p0725763_rev:2: SOA record not at top of zone (0.0.10.in-addr.arpa)
zone 0.10.in-addr.arpa/IN: loading master file p0725763_rev: not at top of zone
_default/0.10.in-addr.arpa/IN: not at top of zone

.......................................................................
These are the files i configured.

/var/named/chroot/etc/named.conf

options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forwarders { 10.0.0.254; };
};


// for forward lookup

zone "p0725763.com" IN {
type master;
file "p0725763_for";
allow-update { none; };
};

// for backward lookup(for network address 10.0.0)

zone "0.0.10.in-addr.arpa" IN {
type master;
file "p0725763_rev";
allow-update { none; };
};

// for backward lookup(for network address 10.0)

zone "0.10.in-addr.arpa" IN {
type master;
file "p0725763_rev";
allow-update { none; };
};
.................................................................

/var/named/chroot/var/named/p0725763_for

$TTL 86400
@ 7200 IN SOA p0725763.com. root.p0725763.com. (

2005071101 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
7200 ) ; Minimum

@ IN NS ns.p0725763.com.
@ IN A 10.0.0.1
ns.p0725763.com. IN A 10.0.0.1
ns.p0725763.com. IN A 10.0.0.2
www IN CNAME p0725763.com.




.................................................................

/var/named/chroot/var/named/p0725763_rev

$TTL 86400
0.0.10.in-addr.arpa. IN SOA p0725763.com. admin.p0725763.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
0.0.10.in-addr.arpa. IN NS ns.p0725763.com.
5 IN PTR p0725763.com.
 
Old 05-21-2009, 06:53 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Quote:
zone "0.0.10.in-addr.arpa" IN {
type master;
file "p0725763_rev";
allow-update { none; };
};

// for backward lookup(for network address 10.0)

zone "0.10.in-addr.arpa" IN {
type master;
file "p0725763_rev";
allow-update { none; };
};
You use the same file for both zones, so the second complains because of the SOA that is 0.0.10.in-addr.arpa.
 
  


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
How to make DNS master server?? Problems!!! kayasaman Linux - Server 135 09-23-2008 04:40 AM
DNS Master Server Configuration in CentOS5.2 rajendrapoudel Linux - Server 41 09-11-2008 03:05 AM
how to configure master dns in windows2003 server and its slave dns in rhel5 suneellinux Linux - Newbie 1 04-11-2008 05:13 PM
DNS Server: Master/Slave Swakoo Linux - Networking 3 06-30-2006 04:58 AM
Master/Slave server DNS emailssent Linux - Networking 2 10-04-2004 03:21 AM

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

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