问题原文
原帖链接 · Marc · CC BY-SA 3.0
Suppose you have the following A record:
example.com. 3599 IN A 192.0.2.78
And these MX records:
example.com. 997 IN MX 10 mx01.1and1.co.uk.example.
example.com. 997 IN MX 10 mx00.1and1.co.uk.example.
And you then changed the IP address for the A record to a non 1&1 ip address (so that the website could be hosted on an external hosting), would that affect the MX records or mess up the email in any way?
已采纳解答
原帖链接 · Steve · CC BY-SA 3.0
To add some more info here as an explainer for future visitors:
The A record tells the internet where to find the web site for a domain.
The MX record tell the internet which service is handling email.
A basic setup might be to have an A record
example.com. 3599 IN A 111.123.456.78
and then mail.example.com points to the same IP address with an A record
mail.example.com. 3599 IN A 111.123.456.78
or a CNAME record
mail.example.com. 3599 IN CNAME example.com
Then the MX record set up would be
example.com. 997 IN MX 10 mail.example.com
However, if the MX record was set up as Marc (the OP) has it
example.com. 997 IN MX 10 mx00.1and1.co.uk.
then the mail.example.com record would be redundant as the server managing DNS would not be handling email at all.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
