[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

how to debug a DNS resolution problem ?



Hi

I am using dig to troubleshoot a DNS problem, but I
just can't increase the debug in the query :-(

I am using this query:
dig +trace +recurse +all +qr -t NS sld.cu.

it  give me lot of information but do not print to
whom I am sending the query, I get the IP in the
anwser's display section but what should I do if I do
not get an anwser and I need to know why I get the
error? 

for example, this is the last lines from the output of
the former query:

;; Sending:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:
20898
;; flags:; QUERY: 1, ANSWER: 0, AUTHORITY: 0,
ADDITIONAL: 0

;; QUESTION SECTION:
;sld.cu.                                IN      NS

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:
20898
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 3,
ADDITIONAL: 3

;; QUESTION SECTION:
;sld.cu.                                IN      NS

;; AUTHORITY SECTION:
sld.cu.                 3600    IN      NS     
ns2.sld.cu.
sld.cu.                 3600    IN      NS     
ns3.sld.cu.
sld.cu.                 3600    IN      NS     
ns1.sld.cu.

;; ADDITIONAL SECTION:
ns1.sld.cu.             3600    IN      A      
196.1.112.25
ns2.sld.cu.             3600    IN      A      
196.1.112.18
ns3.sld.cu.             3600    IN      A      
150.188.8.206

;; Query time: 734 msec
;; SERVER: 193.0.0.193#53(NS.RIPE.NET)
;; WHEN: Mon Apr 24 19:32:56 2006
;; MSG SIZE  rcvd: 126

;; Sending:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:
13724
;; flags:; QUERY: 1, ANSWER: 0, AUTHORITY: 0,
ADDITIONAL: 0

;; QUESTION SECTION:
;sld.cu.                                IN      NS

dig: Couldn't find server 'ns2.sld.cu': Name or
service not known

As you can see, I _do_ get a response from the parent
domain, and also I get the additional NS's IP from the
same parent DNS server (glue records) but still dig
just complain  about "Couldn't find server"

finally, I can request the dns data directly from
ns{1,2}.sld.cu without any problem (I know it's IP
number :-) ) 

so, How I can know why dig is just droping the
additional information that the parent dns server is
sending?

thanks in advance for any hint

roger
PD: Appologies my bad english :-(

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]