MX and A

Matus UHLAR - fantomas uhlar at fantomas.sk
Sat Apr 10 19:25:59 UTC 2010


On 10.04.10 21:19, Mihamina Rakotomandimby wrote:
> In a zone (the zone == the domain, here), I want a basic thing:
> - mails for the domain goes to smtp1.mg.tambazotra.net.
> - http://the-domain.tld and http://www.the-domain.tld 
>  both resolve to the IP 64.8.123.230
> I setup this:
> 
>   @   IN MX 10 smtp1.mg.tambazotra.net.
>   @   IN  A 64.8.123.230
>   www IN  A 64.8.123.230
> 
> With this, the HTTP constraint is OK, but the domain owner 
> doesnt receive mails.

doesn't receive what mails?

> If I try this:
> 
>   @   IN MX 10 smtp1.mg.tambazotra.net.
>   www IN  A 64.8.123.230
> 
> The domain owner receives his mails.
> How to modify the second setting so that http://the-domain.tld 
> (without prepending "www") resolves to 64.8.123.230 and 
> keep the mails working?

the A record for "@" must not affect receiving mails for the domain, if MX
record exists. The A record is used for mails only when there are MX record
for the same name.

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Your mouse has moved. Windows NT will now restart for changes to take
to take effect. [OK]



More information about the bind-users mailing list