All pastes #88179 Raw Edit

Something

public text v1 · immutable
·published 2006-07-14 16:35 UTC
rendered paste body
I’ve got an inconsistency between my DNS management application’s verification function and the named-checkzone CLI utility. My function believes that @ is not defined – unless we are to consider a valid MX entry as an allowable definition of an owner? It would appear that this is the logic named-checkzone is using, but I wanted to verify it.

Below is the output of my function, followed by named-checkzone’s, and the DNS zone file’s contents themselves.


Invalid zone file for /var/lib/named/customer_pz/2myfamily.com.dns
Errors found:
soa,owner,Found no entry for @
resource_records,0,Found no entry for the resource record owner @.
resource_records,1,Found no entry for the resource record owner @.
resource_records,2,Found no entry for the resource record owner @.

--

sullys@dns01:/var/www/dns-controlpanel/classes$ /usr/sbin/named-checkzone 2myfamily.com.dns /var/lib/named/customer_pz/2myfamily.com.dns
/var/lib/named/customer_pz/2myfamily.com.dns:1: no TTL specified; using SOA MINTTL instead
zone 2myfamily.com.dns/IN: loaded serial 2006061509
OK

--

2myfamily.com.dns:
@                       IN      SOA     ns3.softcomca.com.      postmaster.softcomca.com.       (
                        2006061509     ; serial number
                        21600      ; refresh [6h]
                        3600       ; retry   [1h]
                        691200     ; expire  [8d]
            3600)     ; minimum TTL [1d]
;
@                       IN      NS      ns3.softcomca.com.
@                       IN      NS      ns4.softcomca.com.
@                       IN      MX      10      filter.exchange
exchange                IN      A       168.144.1.247
filter.exchange         IN      A       168.144.1.236
smtp.exchange           IN      A       168.144.1.252
mobile.exchange         IN      A       168.144.1.246
syncml.exchange         IN      A       168.144.1.251
;multi-language exchange OWA sites
ara-exchange            IN      A       168.144.1.247
bas-exchange            IN      A       168.144.1.247
brz-exchange            IN      A       168.144.1.247
cat-exchange            IN      A       168.144.1.247
chs-exchange            IN      A       168.144.1.247
cht-exchange            IN      A       168.144.1.247
cze-exchange            IN      A       168.144.1.247
dan-exchange            IN      A       168.144.1.247
dut-exchange            IN      A       168.144.1.247
eng-exchange            IN      A       168.144.1.247
fin-exchange            IN      A       168.144.1.247
frn-exchange            IN      A       168.144.1.247
ger-exchange            IN      A       168.144.1.247
grk-exchange            IN      A       168.144.1.247
heb-exchange            IN      A       168.144.1.247
hun-exchange            IN      A       168.144.1.247
itn-exchange            IN      A       168.144.1.247
jpn-exchange            IN      A       168.144.1.247
kor-exchange            IN      A       168.144.1.247
nor-exchange            IN      A       168.144.1.247
pol-exchange            IN      A       168.144.1.247
por-exchange            IN      A       168.144.1.247
rus-exchange            IN      A       168.144.1.247
spa-exchange            IN      A       168.144.1.247
swe-exchange            IN      A       168.144.1.247
trk-exchange            IN      A       168.144.1.247