Microsoft DNS, Sun Solaris, and Domain Alias

We recently made some additions to our DNS server to be locally authoritative for our domain. After this change our Sun Solaris box could no longer email internally to our exchange server. We figured out what the problem was, and a temporary fix, but it's just temporary. Looking for a permanent fix.

before DNS changes the email showed up as user@doman.com (correct)
after DNS changes the email shows up as user@www.domain.com (incorrect, and only an issue with the Sun box)

we figured out that if we removed the domain alias (in Microsoft DNS) to translate domain.com to www.domain.com it worked again and the emails started going to user@domain.com.

how is the Sun box sending its email. This just seems odd to me; the Sun box is email so something like user@domain.com, correct? I guess I don't understand how your Sun box is set up for emailing or what daemon on that box is doing the emailing

also, if you are just doing CNAME entries, is there a reason that the domain.com can't be the A record and the www.domain.com be the CNAME entry; just reverse the two.

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

I don't think there's a reason, but the way you were doing it originally was definitely broken - you are allowed (per RFC) to have a CNAME for www pointing to your domain name, but not the other way around.

Of course, Microsoft GUIs love to let you do things that violate RFCs - otherwise, they wouldn't be Microsoft, would they?

answer accepted on Cyclops3590 because he got me thinking along the lines when he said, "is there a reason that the domain.com can't be the A record and the www.domain.com be the CNAME entry; just reverse the two."

This way if you run virtual hosts on your web server (meaning serve out different pages depending upon url used to connect to it) you can take advantage of the CNAME entries. Also, if you need to change the IP of the web server (that hosts all the urls) then you only need to change one entry.

FreeBSD on EC2
FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…

BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address.
There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…

Learn several ways to interact with files and get file information from the bash shell.
ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…