Collection of Web resources about dig usage:

Download dig (part of Bind):

Some commands:

What is the website’s IP address ?

dig +short

How to identify the name servers associated with a domain ?

dig NS +short

What does the delegation path to my zone look like ?

dig +trace

Which Mail Server is responsible for a domain ?

dig MX

Which value is in cache in a given resolver ?

dig @

Which domain name is this IP associated with ?

dig +short -x

Which are the name servers of a TLD ?

dig +short NS nl.

When will the cache of an answer expire ?

dig +noall +answer

Is the zone synchronized to all my NS ?

dig +nssearch

Is a zone existing on this name server ?

dig SOA

Using Dig to Retrieve Different Record Types?

dig srv