我在连接到 DSL 路由器的台式机和笔记本电脑上运行 14.04,无法正确解析任何内部主机名。当我挖掘桌面名称时:
; <<>> DiG 9.9.5-3-Ubuntu <<>> desktopname
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39208
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;desktopname. IN A
;; ANSWER SECTION:
desktopname. 10 IN A 198.105.254.23
desktopname. 10 IN A 198.105.244.23
;; Query time: 64 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Fri Oct 17 20:18:11 PDT 2014
;; MSG SIZE rcvd: 61
cat /etc/network/interfaces
auto lo
iface lo inet loopback