[UPHPU] CNAME or A for MX value

Velda velda at novapages.com
Thu Jul 3 15:51:15 MDT 2008


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


More information about the UPHPU mailing list