直到今天,我还不相信它不会.
从 this page起
从 this page起
The name field can be any of:
- A Fully Qualified Domain Name (FQDN) e.g. example.com. (ends with a
dot)- An unqualfied name (does not end with a dot)
- An ‘@’ (substitutes the current value of $ORIGIN)
- a ‘space’ or ‘blank’ (tab) – this is replaced with the prevIoUs value of
the name field.
现在,查看以下查询
$dig top-immotunisie.com NS ; <<>> DiG 9.6.0-APPLE-P2 <<>> top-immotunisie.com NS ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY,status: NOERROR,id: 44156 ;; flags: qr rd ra; QUERY: 1,ANSWER: 2,AUTHORITY: 0,ADDITIONAL: 0 ;; QUESTION SECTION: ;top-immotunisie.com. IN NS ;; ANSWER SECTION: top-immotunisie.com. 36012 IN NS ns1.topnet.tn. top-immotunisie.com. 36012 IN NS 196.203.251.8. ;; Query time: 353 msec ;; SERVER: 85.37.17.16#53(85.37.17.16) ;; WHEN: Thu Jan 7 02:29:15 2010 ;; MSG SIZE rcvd: 91
这怎么可能? NS记录可以指向IP地址吗?
解决方法
这不是一个IP地址,它是一个非常非常无效的FQDN.换句话说,它是一串字符而不是实际地址. IP地址末尾的点以及RFC中的规范表明NS记录答案是字符串.
有趣的是,我刚刚检查了你提供的域名,并且已经修复了使用ns2.topnet.tn,因为它是其他名称服务器.