2 msgViews
2 msgVounerability if master dies - redundancy neede...
3 msgHow to disable DNS updates on LINUX server?

[Fwd: Strange named-checkzone behaviour] - erro...
\ Urban Loesch (22 Nov 2006)

7 msgDNS Lookup Outsourcing?
2 msgStrange named-checkzone behaviour
6 msgBIND and MS DNS
2 msgmigrating from mydns to bind9.4/DLZ extensions
1 msgDH help
1 msgSetting up DH key exchange
3 msgCreating bogus response for a particular subnet
8 msg'Stealing' an outside domain within a LAN
2 msgdig problem - acting strange
4 msgdomains on the same host, same IP, same nameser...
20 msgI need to manage multiple domains
6 msgroot nameserver has stale entry
2 msgnamed connection failed
3 msgmutiple dns servers
2 msgI need to start migrating to a new domain (DNS/...
6 msgbind forward to rbldns server intermittently fails
Subject:[Fwd: Strange named-checkzone behaviour] - error found
Group:Bind-users
From:Urban Loesch
Date:22 Nov 2006


 
Hi,

I found the error.
named-checkzone checks if the reverse Record (PTR) mail.enas.net
(195.254.235.67) is the same as the A Record.
If not, it reports an error that mail.enas.net is a CNAME and that is
illegal. The PTR-Record of 195.254.235.67 is "dns.enas.net".

If I change the MX to dns.enas.net I receive the following from
named-checkzone:

# named-checkzone ultental.eu db.ultental.eu
zone ultental.eu/IN: loaded serial 2006120701
OK

Thanks
Urban



-------- Original Message --------
Subject: Strange named-checkzone behaviour
Date: Tue, 21 Nov 2006 11:07:21 +0100
From: Urban Loesch <bind>
Newsgroups: comp.protocols.dns.bind


Hi,

I will use named-checkzone to check the right syntax etc. of my zonefiles.

Today I tried it out an I see the following error:

# named-checkzone ultental.eu /var/named/var/named/master/db.ultental.eu
zone ultental.eu/IN: ultental.eu/MX 'mail.enas.net' (out of zone) is a
CNAME (illegal)
zone ultental.eu/IN: loaded serial 2006120701
OK

named-checkzone reports that "mail.enas.net" is a CNAME and thats
illegal in MX-Records. But the RRs "mail.enas.net" is not a CNAME. It's
a usual A-Record.

Zonefile of ultental.eu:
$TTL 1d
@ IN SOA dns.enas.net. bind.enas.net. (
2006120701 ; Seriennummer
1d ; Refresh von einem Tag
1h ; Retry nach 1 Stunde
1w ; Expire nach 1 Woche
1d ) ; Negative Caching TTL von 1 Tag

;
; Nameserver:
;
IN NS dns.enas.net.
IN NS dns2.enas.net.
;
; A-Records
;
www IN A 195.254.235.67
;
; MX Records
;
@ IN MX 10 mail.enas.net.


Dig for mail.enas.net reports.
$ dig @dns.enas.net mail.enas.net
;; QUESTION SECTION:
;mail.enas.net. IN A

;; ANSWER SECTION:
mail.enas.net. 86400 IN A 195.254.235.67


I use BIND 9.4.0b4.

Version of "named-checkzone" = 9.4.0b4

Have you any Idea why named-checkzone reports me that error?

Thanks and regards
Urban




© 2004-2008 readlist.com