知道为什么 DNS 请求对这个特定的 (garage.dyn.woima.fi) 域返回 127.0.0.1,而其他域工作正常吗?192.168.255.1 IP 地址已分配给我的家庭网络 ADSL 盒。
dig garage.dyn.woima.fi
; <<>> DiG 9.10.3-P4-Ubuntu <<>> garage.dyn.woima.fi
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63842
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;garage.dyn.woima.fi. IN A
;; ANSWER SECTION:
garage.dyn.woima.fi. 846 IN A 127.0.0.1
;; Query time: 4 msec
;; SERVER: 192.168.255.1#53(192.168.255.1)
;; WHEN: Sun Aug 27 16:52:47 EEST 2017
;; MSG SIZE rcvd: 53
即使我在 dig 命令中强制使用不同的名称服务器,结果也完全一样?如果我从互联网进行查询,它会给出正确的 IP。
dig dyn.woima.fi NS
; <<>> DiG 9.10.3-P4-Ubuntu <<>> dyn.woima.fi NS
;; QUESTION SECTION:
;dyn.woima.fi. IN NS
;; ANSWER SECTION:
dyn.woima.fi. 900 IN NS ns2.woima.fi.
dyn.woima.fi. 900 IN NS ns1.woima.fi.
dyn.woima.fi. 900 IN NS ns3.woima.fi.
root@garage:~# dig @ns2.woima.fi garage.dyn.woima.fi
; <<>> DiG 9.10.3-P4-Ubuntu <<>> @ns2.woima.fi garage.dyn.woima.fi
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18922
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1680
;; QUESTION SECTION:
;garage.dyn.woima.fi. IN A
;; ANSWER SECTION:
garage.dyn.woima.fi. 900 IN A 127.0.0.1
;; Query time: 18 msec
;; SERVER: 164.215.38.200#53(164.215.38.200)
;; WHEN: Sun Aug 27 17:00:09 EEST 2017
;; MSG SIZE rcvd: 64
- 杰克