dig error

jittinan suwanrueangsri jittinan2 at gmail.com
Tue Mar 10 10:57:31 UTC 2009


Dear sir
I have set up dns tree hierarchy (since root server to child domain) for
testing purpose.

dns tree hierarchy

root (10.10.91.201)->work.(10.10.91.202)->test.work.(10.10.91.203)

root zone file content is

$TTL 3600
@               IN SOA ns1.work. postmaster.work. (
                        2009030901 ;serial yyyymmddtt
                        3H ;refresh
                        15M ;retry
                        1W ;expiry
                        1D ;minimum ncache
                        )
                IN NS   ns1.work.

$ORIGIN work.
@               IN NS   ns1
ns1             IN A    10.10.91.202
$ORIGIN com.
@               IN NS   ns1
ns1             IN A    10.10.91.201




1. At first I execute following command.
[root at localhost ~]# dig  @10.10.91.201 www.test.work +norecurse

; <<>> DiG 9.6.0-P1 <<>> @10.10.91.201 www.test.work +norecurse
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48504
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;www.test.work.                 IN      A

;; AUTHORITY SECTION:
work.                   3600    IN      NS      ns1.work.

;; ADDITIONAL SECTION:
ns1.work.               3600    IN      A       10.10.91.202

;; Query time: 3 msec
;; SERVER: 10.10.91.201#53(10.10.91.201)
;; WHEN: Wed Mar 11 00:41:38 2009
;; MSG SIZE  rcvd: 65

[root at localhost ~]#


2.After that I execute following command

[root at localhost ~]# dig  @10.10.91.201 www.test.work +trace

; <<>> DiG 9.6.0-P1 <<>> @10.10.91.201 www.test.work +trace
; (1 server found)
;; global options: +cmd
.                       3600    IN      NS      ns1.work.
;; Received 38 bytes from 10.10.91.201#53(10.10.91.201) in 2 ms

dig: couldn't get address for 'ns1.work': not found
[root at localhost ~]#



I have already added  A record for ns1.work. but why  when I execute dig
with +trace option it return error "dig: couldn't get address for
'ns1.work': not found".How can I fix it?


Jittinan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20090310/e1eff855/attachment.html>


More information about the bind-users mailing list