MX and A
Joseph S D Yao
jsdy at tux.org
Mon Apr 12 09:59:05 UTC 2010
On Sat, Apr 10, 2010 at 09:19:47PM +0300, Mihamina Rakotomandimby wrote:
> Manao ahoana, Hello, Bonjour,
>
> 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.
>
> 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?
emip.mg. 38400 IN NS ns1.mg.tambazotra.net.
emip.mg. 38400 IN NS ns2.mg.tambazotra.net.
emip.mg. 38400 IN NS ns1.fr.malagasy.com.
emip.mg. 38400 IN MX 10 smtp1.mg.tambazotra.net.
emip.mg. 38400 IN MX 20 smtp2.mg.tambazotra.net.
emip.mg. 38400 IN MX 30 smtp3.mg.tambazotra.net.
smtp1.mg.tambazotra.net. 1 IN A 41.204.104.61
smtp2.mg.tambazotra.net. 1 IN A 41.204.104.57
smtp3.mg.tambazotra.net. 1 IN A 41.204.120.141
ns1.fr.malagasy.com. 43200 IN A 87.98.132.231
ns1.mg.tambazotra.net. 38400 IN A 41.204.103.193
ns2.mg.tambazotra.net. 38400 IN A 41.204.104.40
www.emip.mg. 38400 IN A 64.8.123.230
230.123.8.64.in-addr.arpa win11.securedc.com.
Both smtp1 and smtp3 identify themselves as second-camel.malagasy.com.
If they are the same machine, this is not diversity. If they are not -
have you tried checking the other machines for the missing e-mail?
I'm also wondering whether the so-short TTLs on the three smtp names
might cause some problems for a poorly programmed mail transfer agent.
Otherwise, I'd have to agree with earlier comments that the MX records
should trump the A record, and that the sending MTA program is at fault.
Have you tried this from multiple e-mail accounts, e.g., get a free
yahoo or gmail account and try this?
Of course, you have no control over the many MTAs that presumably are
sending e-mail to domain-owner at emip.mg.
--
/*********************************************************************\
**
** Joe Yao jsdy at tux.org - Joseph S. D. Yao
**
\*********************************************************************/
More information about the bind-users
mailing list