MX Record Sub-Domain Problem

Barry Margolin barmar at genuity.net
Tue Apr 16 16:17:45 UTC 2002


In article <a9hi9k$bgq at pub3.rc.vix.com>,
William Benneke <william.bennecke at ey-as.com> wrote:
>
>Hi,
>
>I have a domain "cgeygoa.com".
>I would like to have users email to a sub-domain
>"<user>@sub.cgeygoa.com"
>
>In the zone file for cgeygoa.com I have this:
>                        IN MX 10 mail01.ey-as.com.
>                        IN MX 20 mail02.ey-as.com.
>sub                     IN MX 10 mailsub.ey-as.com.
>
>When I restart named I get this error:
>zone: cgeygoa.com/IN: non-glue record at bottom of zone:
>sub.cgeygoa.com/MX
>
>I believe this is due to not having an "A" record in the zone file for
>mailsub.ey-as.com.

No.  It's because you have NS records that delegate the subdomain to
another server.  Therefore, any records in that subdomain must be in the
zone on the other server (the only exceptions are the delegation NS records
themselves, and glue records if the subdomain's nameservers are within the
subdomain).

>So I have added to the zone file for cgeygoa.com:
>
>mailsub.ey-as.com.       IN A 124.3.23.4
>
>Now when I restart named I still get the same error.
>
>Do I need to setup a seperate zone file for sub.cgeygoa.com with the
>MX record
>IN MX 10 mailsub.ey-as.com. in it?
>I have looked at other examples where a MX record was just added to
>the zone file for the top-level domain and no sub-domain zone file was
>created.

Those other examples presumably didn't delegate the subdomain.

Go to the server that the subdomain is delegated to, and add the MX record
into its zone file.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list