Re: [Exim] Address rewriting vs. CNAME records?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Exim Users Mailing List
Dátum:  
Címzett: Vadim Vygonets
CC: exim-users
Tárgy: Re: [Exim] Address rewriting vs. CNAME records?
[ On Friday, February 7, 2003 at 00:38:31 (+0200), Vadim Vygonets wrote: ]
> Subject: Re: [Exim] Address rewriting vs. CNAME records?
>
> Quoth Greg A. Woods on Thu, Feb 06, 2003:
> >
> > Why create such an obfuscation?
>
> I need foo.friends.dom to point to that machine for other
> reasons. (Now I made it an A record instead.)


If you're going to make foo.friends.dom an A record then you should make
it an A record _and_ an MX:

    foo.friends.dom.    IN    MX    bar.my.dom.
    foo.friends.dom.    IN    A    10.12.13.14
    bar.my.dom.        IN    MX    10 bar.my.dom.
    bar.my.dom.        IN    A    10.12.13.14


Don't forget to add the additional PTR(s) too:

    14.13.12.10.in-addr.arpa.    IN PTR    bar.my.dom.
    14.13.12.10.in-addr.arpa.    IN PTR    foo.friends.dom.


"Ya know.... " there's a reason why people use unique names with
prefixes like "mail" and "www" for different services... :-)

> > It also makes it a _lot_ easier to figure out what's going on if the
> > mailer at bar.my.dom suddenly complains that an MX points to itself!
>
> The MX record for both should point to bar.my.dom (well,
> technically, as long as bar.my.dom is the only mail exchanger for
> itself, the MX record may be omitted, but I like to have it).


Technically, it should _not_ be omitted.

--
                                Greg A. Woods


+1 416 218-0098;            <g.a.woods@???>;           <woods@???>
Planix, Inc. <woods@???>; VE3TCP; Secrets of the Weird <woods@???>