<div dir="ltr">Using CNAME as MX is not recommended, someone might say forbidden. Check the following thread:<br>

<a href="https://lists.isc.org/pipermail/bind-users/2009-January/074828.html">https://lists.isc.org/pipermail/bind-users/2009-January/074828.html</a><br>Technically I think there is no problem to do so, BIND even has an option to ignore such checks - check-mx-cname.<br>
BTW you did not specify what exactly the problem is, BIND did not load? Your queries fail? If yes how do they fail?<br><br>ena<br><br><div class="gmail_quote">On Sun, Aug 7, 2011 at 4:05 PM, Scott Hughes <span dir="ltr"><<a href="mailto:sonicscott9041@gmail.com">sonicscott9041@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">All,<div><br></div><div>I have Googled and searched the archives for two days and cannot find an answer to this question... just more confusion!  Please forgive me ahead of time as I run two name servers for my mid-sized company and am by no means an expert in using bind DNS. We have about eight domains but don't have a lot of records for each zone.  Here is my issue:</div>

<div><br></div><div>We are moving to a two Exchange server / two data center model for auto-failover reasons. Both data centers are in to different locations and have multiple internet pipes and tier 1 providers coming into their data centers.</div>

<div><br></div><div>Here is what I'm trying to do:</div><div><br></div><div>For example, our email domain name on the Exchange servers is: <a href="http://mail.blahblah.us" target="_blank">mail.blahblah.us</a>    Our spam filtering device is: <a href="http://spam.blahblah.us" target="_blank">spam.blahblah.us</a> and is the MX record.  In the <a href="http://blahblah.us" target="_blank">blahblah.us</a> zone file I have A records pointing to both correctly.</div>

<div><br></div><div>Our problem comes in on our other domains. I am trying to point <a href="http://mail.company1.com" target="_blank">mail.company1.com</a> to <a href="http://mail.blahblah.us" target="_blank">mail.blahblah.us</a> and <a href="http://spam.company1.com" target="_blank">spam.company1.com</a> to <a href="http://spam.blahblah.us" target="_blank">spam.blahblah.us</a> using CNAME records.  I'm obviously doing this wrong or trying to do something that can't or shouldn't be done.  Like I said, I am fairly new to bind9 but I'd sure rather use it than something link MS DNS servers!</div>

<div><br></div><div>What I am attempting to do is make it so that if an outside email server or inside user goes to <a href="http://mail.company1.com" target="_blank">mail.company1.com</a>  or  <a href="http://spam.company1.com" target="_blank">spam.company1.com</a> they are 'redirected' to the <a href="http://blahblah.us" target="_blank">blahblah.us</a> domain where our UCC cert covers both of the Exchange servers.</div>

<div><br></div><div>Please let me know if I've left anything out that would be helpful in answering these questions.</div><div><br></div><div>Thank you,</div><div><br></div><font color="#888888"><div>Scott</div><div>
<br></div>
</font><br>_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br></blockquote></div><br></div>