我想使用nsupdate(Raspbian GNU / Linux 8.0 jessie 4.1.19-v7 +)在本地DNS服务器上注册一个客户端,
> nsupdate -d > update add lea02.example.local 600 a 10.132.34.32
来自服务器的响应在parsing自己的名字时出现了奇怪的错误:
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