adress for top level domain

Barry Margolin barmar at bbnplanet.com
Mon Jan 3 17:02:29 UTC 2000


In article <qK_b4.8334$lv5.40230 at news-server.bigpond.net.au>,
§ilence <silence at tangtech.com.au> wrote:
>i know it IS possible to put an address for the top level domain (eg.
>altavista.com insead of www.altavista.com )
>but what happens if the web server is different from the Mail servers?
>eg:
>
>                            IN    MX    10    mail.domain.com
>domain.com.        IN    CNAME    www
>
>www                   IN    A    123.123.123.123
>mail                    IN    A    123.123.123.124
>
>with that kind of setup, mail gets sent to the WEB server instead of the
>Mail server as defined by the MX record, because it has an address for
>"domain.com"

You can't use a CNAME record for the domain name.  Do it the other way
around:

    IN MX 10 mail.domain.com.
    IN A  123.123.123.123

www IN CNAME domain.com.
mail IN A 123.123.123.124

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, 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