9.6.1-P1 zone parser false errors
Mark Andrews
marka at isc.org
Sun Nov 1 23:00:33 UTC 2009
In message <200910301615.AA559480882 at mail.Go2France.com>, "Len Conrad" writes:
> uname -a
>
> Linux ns1.abcxyz.net 2.4.20-31.9smp #1 SMP Tue Apr 13 17:40:10 EDT 2004 i686
> i686 i386 GNU/Linux
>
> old BIND:
>
> /usr/sbin/named-checkzone -v
>
> 9.2.1
>
> /usr/sbin/named-checkzone abcxyz.com /var/named/db.abcxyz.com
>
> zone abcxyz.com/IN: loaded serial 2009102902
>
> OK
>
> ==========
>
> current BIND:
>
> /usr/local/sbin/named-checkzone -v
>
> 9.6.1-P1
>
> /usr/local/sbin/named-checkzone abcxyz.com /var/named/db.abcxyz.com
>
> zone abcxyz.com/IN: abcxyz.com/MX 'aspmx.l.google.com' (out of zone) is a CNA
> ME 'mail-yx0-f102.google.com' (illegal)
getaddrinfo() is reporting that aspmx.l.google.com's cannonical
name is mail-yx0-f102.google.com. Somewhere in the resolution path
aspmx.l.google.com is being treated as a alias for
mail-yx0-f102.google.com. In the DNS this is done using a CNAME.
dns_name_format(name, namebuf, sizeof(namebuf) - 1);
/*
* Turn off search.
*/
if (dns_name_countlabels(name) > 1U)
strcat(namebuf, ".");
dns_name_format(owner, ownerbuf, sizeof(ownerbuf));
result = getaddrinfo(namebuf, NULL, &hints, &ai);
dns_name_format(name, namebuf, sizeof(namebuf) - 1);
...
if (cur != NULL && cur->ai_canonname != NULL &&
strcasecmp(cur->ai_canonname, namebuf) != 0) {
...
if (!logged(namebuf, ERR_IS_MXCNAME)) {
dns_zone_log(zone, level,
"%s/MX '%s' (out of zone)"
" is a CNAME '%s' "
"(illegal)",
ownerbuf, namebuf,
cur->ai_canonname);
add(namebuf, ERR_IS_MXCNAME);
}
> zone abcxyz.com/IN: abcxyz.com/MX 'alt1.aspmx.l.google.com' (out of zone) is
> a CNAME 'mail-bw0-f39.google.com' (illegal)
> zone abcxyz.com/IN: abcxyz.com/MX 'alt2.aspmx.l.google.com' (out of zone) is
> a CNAME 'fk-in-f114.1e100.net' (illegal)
> zone abcxyz.com/IN: abcxyz.com/MX 'aspmx2.googlemail.com' (out of zone) is a
> CNAME 'mu-in-f27.1e100.net' (illegal)
> zone abcxyz.com/IN: abcxyz.com/MX 'aspmx3.googlemail.com' (out of zone) is a
> CNAME 'mail-pz0-f6.google.com' (illegal)
> zone abcxyz.com/IN: abcxyz.com/MX 'aspmx4.googlemail.com' (out of zone) is a
> CNAME 'mail-ew0-f7.google.com' (illegal)
> zone abcxyz.com/IN: abcxyz.com/MX 'aspmx5.googlemail.com' (out of zone) is a
> CNAME 'mail-yx0-f8.google.com' (illegal)
> zone abcxyz.com/IN: loaded serial 2009102902
>
> All the google domain names are canonical, not CNAMEs.
>
> no views, /etc/hosts is fine, no NIS in use.
>
> Old Linux is broken?
>
> thanks
> Len
>
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list