Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
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


$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

share|improve this question

4 Answers 4

up vote 0 down vote accepted

Try this..

@ IN SOA ns1.domain.com. noc.domain.com. (

Instead of

116.64.xxx.in-addr.arpa. IN SOA ns1.domain.com. noc.domain.com. (

share|improve this answer
    
its already like that: 116.64.xxx.in-addr.arpa. IN SOA ns1.domain.com. noc.domain.com. ( –  Faith In Unseen Things Apr 10 '11 at 18:00

The first argument to named-checkzone is documented to be the zone name thus should not begin with /var/named.

share|improve this answer

Instead of:

named-checkzone /var/named/116.64.xxx.in-addr.arpa /var/named/116.64.xxx.db

Try this instead:

named-checkzone 116.64.xxx.in-addr.arpa /var/named/116.64.xxx.db
share|improve this answer
    
Strange 'code' root@server [/var/named]# named-checkzone 116.64.xxx.in-addr.arpa /var/named/116.64.xxx.db zone 116.64.xxx.in-addr.arpa/IN: loaded serial 2011041002 OK'code' However, the rdns is showing up as servfail when I run a check. –  Faith In Unseen Things Apr 10 '11 at 17:55
    
What check are you running? A cut and paste (with xxx replaced and one PTR added) worked for me locally. dig +short @0 -x 99.64.116.1 returned test.domain.com. –  Cakemox Apr 10 '11 at 18:27

Remember to update your serials !

share|improve this answer
    
I have done that for sure, each time. –  Faith In Unseen Things Apr 10 '11 at 17:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.