LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs > elonge
User Name
Password

Notices

Rate this Entry

SOA record not on top of zone

Posted 09-28-2009 at 07:12 AM by elonge

hello to all
i'm trying to configure my dns and i'm having some difficulties in resolving this issue of SOA record not on top of zone.i know it might be a very boring question.i'm just a newbies in this.

This is how my /etc/named.conf file looks like

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
recursion yes;
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

zone "dir.com" IN {
type master;
file "dir.com.lan";
};

zone "5.168.192.in-addr.arpa" IN {
type master;
file "dir.com.rev";
};


include "/etc/named.rfc1912.zones";


My /var/named/dir.com.lan

$TTL 86400
dir.com IN SOA localhost.dir.com. elongevico.mail.com. (

2009061301 ; Serial
3600 ; Refresh
1800 ; Retry
604800 ; Expire
86400 ; Minimum TTL
)
IN NS localhost.dir.com.


localhost IN A 192.168.5.60

My /var/named/dir.com.lan

$TTL 86400
dir.com IN SOA localhost.dir.com. elongevico.mail.com. (
2009061301 ; Serial
3600 ; Refresh
1800 ; Retry
604800 ; Expire
86400 ; Minimum TTL
)

IN NS localhost.


IN PTR localhost.


I also configure all necessary files and when i launch the dns daemon, i get the error that 'SOA record is not on top of zone'.
i have tried resolving the problem without succes.i've also made some research and none seem to give me the neede solution.
i'll be greatful receive any help from you all who think he can help.
thanks for concern and encouragements
Posted in Uncategorized
Views 5213 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 10:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration