Advise with MX records

Barry Margolin barmar at genuity.net
Fri Aug 17 19:36:35 UTC 2001


In article <9ljkdb$src at pub3.rc.vix.com>,
G. Roderick Singleton <gsingleton at home.com> wrote:
>
>Odhiambo Washington wrote:
>> 
>> I have a situation where
>> 
>> ns2     IN      A       1.2.3.4
>> mail    IN      CNAME   ns2
>> 
>> Then I host some domains for which I am doing MX and in their zone files I
>> have
>> 
>> @               IN      MX      5       mail.wananchi.com.
>> @               IN      NS      ns1.wananchi.com.
>> @               IN      NS      ns2.wananchi.com.
>> @               IN      A       62.8.64.4
>> www             IN      A       62.8.64.6

>Simple answer is use A record to define your servers. e.g.
>
>mail              IN      A       62.8.64.4
>
>Now your MX pointer will work in the manner you expect.

Another simple solution is to have the MX record point to the name with the
A record:

@ IN MX 5 ns2.wananchi.com.

-- 
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