LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-10-2011, 08:22 AM   #1
I_AM
Member
 
Registered: Mar 2005
Posts: 103

Rep: Reputation: 15
out of zone data / named-checkzone


Code:
root@server [~]# named-checkzone /var/named/116.64.xxx.in-addr.arpa /var/named/116.64.xxx.db
dns_master_load: /var/named/116.64.xxx.db:2: ignoring out-of-zone data (116.64.xxx.in-addr.arpa)
zone /var/named/116.64.xxx.in-addr.arpa/IN: has 0 SOA records
zone /var/named/116.64.xxx.in-addr.arpa/IN: has no NS records
Code:
$TTL 86400
116.64.xxx.in-addr.arpa. IN      SOA     ns1.domain.com. noc.domain.com. (
                                2011041002      ; Serial
                                7200 ; Refresh
                                7200 ; Retry
                                1209600 ; Expire 2 weeks
                                86400 ) ; Minimum 24 hours

                IN      NS      ns1.domain.com.
                IN      NS      ns2.domain.com.
IPS directly allocated to me via ARIN.

Using BIND on a cPanel Box / Centos 5.3
 
Old 04-10-2011, 10:32 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You should use:
Code:
named-checkzone 116.64.xxx.in-addr.arpa /var/named/116.64.xxx.db
I guess that is why you get that error. If you still get the same error, add an ORIGIN and replace 116.64.xxx.in-addr.arpa. with the @ in SOA:
Code:
$ORIGIN 116.64.xxx.in-addr.arpa. 
@    IN     SOA     ns1.domain.com. noc.domain.com. (
...
You're allocated a whole xxx.116.64/24 subnet, wow!!!
 
  


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
named-checkzone not working on Centos 5.3 in chroot-ed enviroment? MheAd Linux - Software 2 03-29-2010 08:04 AM
adding a zone in named.conf in centos 5.2 /etc/named.conf coolhunkank Linux - Newbie 2 05-14-2009 08:45 AM
named cannot find zone files? zarnold Red Hat 4 09-04-2006 11:36 AM
named-checkzone mahmoud Linux - Newbie 1 06-07-2006 01:30 PM
named classless reverse zone jon3k Linux - Software 1 03-08-2005 09:57 PM

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

All times are GMT -5. The time now is 03:39 PM.

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