Webserver can't check email DNS

fchhh
fchhh used Ask the Experts™
on
We recently redid our Citrix server and in order to make it work reliably both inside and outside of the network, had to alter our DNS settings. Previously, our DNS server had zones for domain and domain.local, but now also needed forward lookup zones for domain.com as well. I went in and created new cnames for everything (employee portal, exchange, etc) and everything was golden.

Right up until we found that our webserver could no longer send emails out. Our webserver uses PHP Mailer to send form results to people in the company and to remind people to submit timesheets. Since doing this change, it either gets an Error 500 or that the email address has failed a DNS check.

We are using 100% Windows setup and Joomla CMS for the website. The Joomla guys all agree that it's the DNS that's screwed up, but I can't seem to find a way to fix it. Any ideas?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
kevinhsiehNetwork Engineer

Commented:
Your mail servers as specified in the MX records can not be cnames. You need to create A records for your mail servers, and then you should be good to go.

Author

Commented:
So, in the .com zone
mx is set to mailserver.domain.local
mailserver is set to host (a) 10.0.0.35


In the .local zone
mx is set to mailserver.domain.local
mailserver is set to host (a) 10.0.0.35
kevinhsiehNetwork Engineer

Commented:
Things should work the way you have it.

As you have things, in the .com zone, the A record for mailserver.domain.local is technically not needed, because the MX record is for mailserver.domain.local. That said, having the A record is probably a good idea.

I am personally torn between whether or not it is better to have the MX record for domain.com to point to mailserver.domain.local or mailserver.domain.com. Advantages and disadvantages to each.
Commented:
In the end, I have no idea what happened.  I wiped the server and just restored to an earlier time.

Author

Commented:
Nothing worked.  I just recreated the server.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial