weird MX behavior
Kevin Darcy
kcd at daimlerchrysler.com
Thu Oct 5 21:15:49 UTC 2006
dns-admin wrote:
> hi,
>
> i'm running "bind-chroot-9.2.4-16.EL4" on "CentOS release 4.4 (Final)".
>
> this config works fine ...
> ######################################################################
> $TTL 86400
> @ IN SOA ns1.mydomain.com.
> dns-admin.mydomain.com. (
> 2006100201 ; Serial
> 3600 ; Refresh
> 600 ; Retry
> 1209600 ; Expire
> 3600 ) ; Minimum
>
> IN NS ns1.mydomain.com.
> IN NS ns2.mydomain.com.
>
> funny 300 IN A 10.10.10.10
> www.funny 300 IN A 10.10.10.10
> @ 300 IN MX 10 mail.boss.com.
> @ 300 IN MX 20 mail1.boss.com.
> @ 300 IN MX 20 mail2.boss.com.
> funny 300 IN MX 10 mail.boss.com.
> funny 300 IN MX 20 mail1.boss.com.
> funny 300 IN MX 20 mail2.boss.com.
> ######################################################################
> i changed my config to
> ######################################################################
> $TTL 86400
> @ IN SOA ns1.mydomain.com.
> dns-admin.mydomain.com. (
> 2006100201 ; Serial
> 3600 ; Refresh
> 600 ; Retry
> 1209600 ; Expire
> 3600 ) ; Minimum
>
> IN NS ns1.mydomain.com.
> IN NS ns2.mydomain.com.
>
> funny 300 IN CNAME www.hugo.com.
> www.funny 300 IN CNAME www.hugo.com.
> @ 300 IN MX 10 mail.boss.com.
> @ 300 IN MX 20 mail1.boss.com.
> @ 300 IN MX 20 mail2.boss.com.
> funny 300 IN MX 10 mail.boss.com.
> funny 300 IN MX 20 mail1.boss.com.
> funny 300 IN MX 20 mail2.boss.com.
> ######################################################################
>
> mailing to funny.mydomain.com doesn't work anymore. i don't get any MX
> records for
> funny.mydomain.com !
>
> so all i've been doing is that i changed the A record to a CNAME which
> i think hasn't got anything to do with mailing - or am i wrong ?
>
> any help would be greatly appreciated
>
When a name owns a CNAME record, it can't own any records of any other
type. What you did was illegal. In fact, it's so illegal that BIND
should have rejected the whole zone. If it didn't then I'd suspect that
you've misrepresented (probably unintenionally) the exact nature of your
change, in the process of "anonymizing" the data for our consumption.
- Kevin
More information about the bind-users
mailing list