大网数据广告活动
网站运营与故障问答

Does changing A record IP address affect MX records?

· 52CE 我爱测

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 …

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2018-03-30)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。