• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

DNS A vs CNAME vs *

matthew@

New Pleskian
Sorry for the repost on this - think it got lost at the end of an older thread about DNS...

jamesyeeoc said:

Host Record type Value
<domain>. NS ns1.<domain>.
<domain>. NS ns2.<domain>.
<domain>. A <ip>
webmail.<domain>. A <ip>
mail.<domain>. A <ip>
ftp.<domain>. CNAME <domain>.
www.<domain>. CNAME <domain>.
*.<domain>. CNAME <domain>.
<domain>. MX (10) mail.<domain>.
<domain>. TXT "v=spf1 a mx ~all"

Thanks for this post which I too have found helpful. However, I have a couple of things that I don't understand...

1. Assuming that you are using the same IP address for all, why create A records for webmail.<domain> and mail.<domain> as opposed to CNAMEs?

2. Given that you have a CNAME for *.<domain>, why do you also need ftp.<domain> and www.<domain>?

TIA, Matthew
 
First, the MX handler requires an A record. Then, in the above example you don't need A records for ftp and www, but they are recommended if you change IPs or for consistency purposes.
 
Originally posted by hardweb
First, the MX handler requires an A record. Then, in the above example you don't need A records for ftp and www, but they are recommended if you change IPs or for consistency purposes.

Aha, that makes sense now... thanks for your help, much appreciated.

Regards, Matthew
 
Back
Top