Date: Thu, 22 Jul 1999 17:35:40 -0600 (MDT) From: "Aaron D. Gifford" <agifford@infowest.com> To: freebsd-isp@freebsd.org, leifn@neland.dk, Subject: Re: A and MX to different ip's for same name Message-ID: <19990722233540.2920720F59@infowest.com>
next in thread | raw e-mail | index | archive | help
"Leif Neland" <leifn@neland.dk> said: >Do all mailers look for MX before A records? Yes, mail delivery will be attempted to the hosts listed in MX records if they are present. >I have this: >www.my.dom IN A a.a.a.a >my.dom IN MX 10 b.b.b.b >I want to do >my.dom IN A a.a.a.a >so http://www.my.dom and http://my.dom leads to the same webserver. >I have tried, and sendmail properly delivers to b.b.b.b >But will any mailer use the A record and send to the webserver at a.a.a.a >instead of the MX'ed mailserv IN MX 10 mail.example.com. www.example.com. IN A 10.55.216.12 mail.example.com. IN A 10.200.100.7 This way both http://example.com and http://www.example.com both go to the same IP address (and I use A records for both and not a CNAME because using a CNAME to point to a host that's the same as the domain name or the reverse did some REALLY weird stuff) and email will be delivered to the host mail.example.com which is a totally different IP address. Hope this helps. Aaron out. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990722233540.2920720F59>
