DNS query tracing

dig @dns.server target.dns +trace

watch it under wireshark, It is very useful to understand how DNS query works especially for a non-cached look up.
  • http://www.thegeekstuff.com/2012/02/dig-command-examples/
  • 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.
Advertisements
This entry was posted in dig, dns. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s