我刚刚购买了一个新域名,并设置了托管空间,但域名注册商不允许我更改 DNS 服务器,直到服务器通过 DNS 测试,但在 zonecheck.fr 上我收到一条消息:
---- fatal ----
f: The nameserver list doesn't match the given one
The given nameserver list (ns1.mydomain.com, ns2.mydomain.com) is not consistent with the one retrieved from the zone (ns1.mydomain.com).
ns2.mydomain.com/123.123.123.123
我为新域名设置的 DNS 记录是:
$ttl 38400
@ IN SOA ns1.mydomain.com. hostmaster.mydomain.com. (
2011071906
10801
3600
604800
38400 )
otherdomain.com. IN A 123.123.123.123
www.otherdomain.com. IN A 123.123.123.123
ftp.otherdomain.com. IN A 123.123.123.123
m.otherdomain.com. IN A 123.123.123.123
localhost.otherdomain.com. IN A 127.0.0.1
webmail.otherdomain.com. IN A 123.123.123.123
admin.otherdomain.com. IN A 123.123.123.123
mail.otherdomain.com. IN A 123.123.123.123
otherdomain.com. IN MX 5 mail.otherdomain.com.
otherdomain.com. IN TXT "v=spf1 a mx a:otherdomain.com ip4:123.123.123.123 ?all"
新域名使用我的其他域名的主 DNS 服务器,该域名有私有名称服务器。配置如下:
$ttl 38400
@ IN SOA server1.mydomain.com. root.server1.mydomain.com. (
1303077376
10800
3600
604800
38400 )
mydomain.com. IN A 123.123.123.123
www.mydomain.com. IN A 123.123.123.123
ftp.mydomain.com. IN A 123.123.123.123
m.mydomain.com. IN A 123.123.123.123
server1.mydomain.com. IN A 123.123.123.123
localhost.mydomain.com. IN A 127.0.0.1
webmail.mydomain.com. IN A 123.123.123.123
admin.mydomain.com. IN A 123.123.123.123
mail.mydomain.com. IN A 123.123.123.123
mydomain.com. IN MX 5 mail.mydomain.com.
mydomain.com. IN TXT "v=spf1 a mx a:mydomain.com ip4:123.123.123.123 ?all"
mydomain.com. IN NS ns1.mydomain.com.
mydomain.com. IN NS ns2.mydomain.com.
ns1.mydomain.com. IN A 123.123.123.123
ns2.mydomain.com. IN A 234.234.234.234
paypal.mydomain.com. IN A 123.123.123.123
www.paypal.mydomain.com. IN A 123.123.123.123
ftp.paypal.mydomain.com. IN A 123.123.123.123
m.paypal.mydomain.com. IN A 123.123.123.123
localhost.paypal.mydomain.com. IN A 127.0.0.1
webmail.paypal.mydomain.com. IN A 123.123.123.123
admin.paypal.mydomain.com. IN A 123.123.123.123
mail.paypal.mydomain.com. IN A 123.123.123.123
paypal.mydomain.com. IN MX 5 mail.paypal.mydomain.com.
我需要做什么才能在 zonecheck.fr 上验证 otherdomain.com?
答案1
我认为第一步是将NS
记录添加到otherdomain.com
的区域。其次,修复区域文件格式,使其分栏;曲折地阅读很痛苦。