我想使用 nsupdate 在本地 DNS 服务器上注册客户端(Raspbian GNU/Linux 8.0 jessie 4.1.19-v7+)
> nsupdate -d
> update add lea02.example.local 600 a 10.132.34.32
服务器的响应在解析其自身名称时出现奇怪的失败:
Reply from SOA query:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17737
;; flags: qr aa rd ra; QUESTION: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;lea02.example.local. IN SOA
;; AUTHORITY SECTION:
example.local. 1200 IN SOA srvns01.example.local. hostmaster.example.local. 1612344 900 600 1209600 1200
;; ADDITIONAL SECTION:
srvns01.example.local. 1200 IN A 10.132.34.71
Found zone name: example.local
The master is: srvns01.example.local
couldn't get address for 'srvns01.example.local': not found
但简单的 nslookup 并未表明这里存在问题:
> nslookup srvns01.example.local
Server: 10.132.34.71
Address: 10.132.34.71#53
Name: srvns01.example.local
Address: 10.132.34.71