BTW, I didn't include the priority in that syntax. It can be 0 of course if you don't use more than one mail server, and the priority goes after MX and before the FQDN.

example.com. MX 0 somemxserver.googleorsomeotherplace.com.



Velda wrote:
Wade Preston Shearer wrote:
I have the following DNS record:

example.com, MX, mail.example.com


…then…

mail.example.com, A, 192.168.1.1


This works but would it be more proper to have the "mail.example.com" record be a CNAME?

A cname would point to another domain, not an IP.  So you could do this:

example.com. MX somemxserver.googleorsomeotherplace.com.
mail.example.com. CNAME somemxserver.googleorsomeotherplace.com.

Or this:

example.com. MX yourmailserver.example.com.
yourmailserver A 123.123.123

And if yourmailserver.example.com should resolve to the same IP as example.com:

example.com MX example.com
mail CNAME example.com.

For what its worth..


Velda

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net



_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to