我如何将网站指向另一个 IP 但将电子邮件保留到现有托管?
网站必须指向 IP:202.51.74.81
电子邮件必须指向:202.63.240.138
我们使用以下方法来检查电子邮件:
- webmail.域名.com
- mail.domainname.com
- domainname.com/webmail
我已经做了以下事情。这会起作用吗?如果不行,那会怎样?谢谢。
domainname.com. 14400 IN A
202.51.74.81
domainname.com. 14400 IN MX
Priority: 0
Destination: domainname.com
mail.domainname.com. 14400 IN A
202.63.240.138
www.domainname.com. 14400 IN CNAME
domainname.com
ftp.domainname.com. 14400 IN A
202.63.240.138
domainname.com. 14400 IN TXT
v=spf1 ip4:202.63.240.138 +a +mx ~all
webmail.domainname.com. 14400 IN A
202.63.240.138
whm.domainname.com. 14400 IN A
202.63.240.138
cpcalendars.domainname.com. 14400 IN A
202.63.240.138
cpcontacts.domainname.com. 14400 IN A
202.63.240.138
cpanel.domainname.com. 14400 IN A
202.63.240.138
webdisk.domainname.com. 14400 IN A
202.63.240.138
default._domainkey.domainname.com. 14400 IN TXT
v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArRVrbgxh+ltKuFjtpVtbcwUvhADG2z5Ylr4fjq4LM4TaXp7TEoeD2i0ymjIwsFKMkwji4LhTq7rgdLghSJKi0WJkSQi6bGV//oLQrIh6TVht99UrLBzj90dVZ8hIptIx+y7nPbpojMxJZCobJfbeZ/kF5WtgLMe30Zemb/zZgBZPkQoltMsc0ebyEh/G1nVoaJcPEieFIsflYsCKHqlxT0BW1W8cAOMEzLJWFelym+PyZ+077gEcWcX+dxzfSPH3CeX80Pb6Gifa6qfU3hn45cLbx/3/WrKgXqeOKxRhIVmg3IK4iSByD3OdwLb8qTWv1iuZw/D8aYsvOMC3S+UndwIDAQAB;
答案1
否则可能没问题,但是您的MX
记录应该指向邮件服务器!
example.com. IN MX 0 mail.example.com.