;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 25 10:29:55 2014
;; MSG SIZE rcvd: 57
b.使用nslookup命令测试
[root@localhost named]# nslookup
> server 127.0.0.1
Default server: 127.0.0.1
Address: 127.0.0.1#53
> set q=A
> localhost
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: localhost
Address: 127.0.0.1
> set q=NS
> localhost
Server: 127.0.0.1
Address: 127.0.0.1#53
localhost nameserver = localhost.
>exit