Can MX records point to multiple cnames
Joseph S D Yao
jsdy at cospo.osis.gov
Sat Jan 8 00:32:31 UTC 2000
On Wed, Jan 05, 2000 at 06:17:40PM -0600, Ben Davies wrote:
> I want to use oxymail.oxy.com as my mx record for all my external machines.
> I also want oxymail to be a cname for each of two firewalls. Can I do this:
>
> server1.oxy.com. in a 1.1.1.1
> server1.oxy.com . in mx 10 oxymail.oxy.com.
>
> firewall1.oxy.com. in a 1.1.1.2
> oxymail.oxy.com. in cname firewall1.oxy.com
>
> firewall2.oxy.com. in a 1.1.1.3
> oxymail.oxy.com. in cname firewall2.oxy.com.
You must do one of two things here:
=======================================================================
server1.oxy.com. in a 1.1.1.1
server1.oxy.com. in mx 10 firewall1.oxy.com.
server1.oxy.com. in mx 10 firewall2.oxy.com.
firewall1.oxy.com. in a 1.1.1.2
firewall2.oxy.com. in a 1.1.1.3
=======================================================================
or
=======================================================================
server1.oxy.com. in a 1.1.1.1
server1.oxy.com. in mx 10 oxymail.oxy.com.
firewall1.oxy.com. in a 1.1.1.2
oxymail.oxy.com. in a 1.1.1.2
firewall2.oxy.com. in a 1.1.1.3
oxymail.oxy.com. in a 1.1.1.3
=======================================================================
The latter may not do what you want, depending on your configuration.
Oh, and watch the spaces before the final dots: they will render your
zone files invalid. (As in your MX record.)
--
Joe Yao jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.
More information about the bind-users
mailing list