Saturday, September 17, 2011

DNS query tracing

dig @dns.server target.dns +tracing
watch it under wireshark, It is very useful to understand how DNS query works especially for a non-cached look up.
  • As a DNS client, dig will send a standard DNS query to the target DNS server via UDP port 53. 
  • For a non-cached look up, dig will ask the answer from root server, TLD (Top Level Domain) server, specific domain server in that order.

No comments:

Post a Comment