Search Again:

Re: dig documentation

From: Len Conrad
Date: Friday, December 12, 2003
Time: 6:22:44 am


>Can anyone point me to some good, detailed documentation, other than the
>man page, on using dig? Thanks!

try google, but there are only a handful of command line options that are
used 99% of the time.

What nslookup people "hate" about dig is not the dig commands but the dig
responses, which are nothing but the DNS packet contents shown in its 5
sections.

If you don't know DNS packet format, then understanding dig responses is
"hard".

If you can get past the "problem" of the responses, the common commands are

forward:

dig domain.tld

dig domain.tld type

where type is the forward record type desired, a, mx, ns, soa, any.

reverse:

dig -x ip.ad.re.ss

The above send the query to the default NS in resolv.conf. To send to a
specfic DNS, give its hosntame or ip.ad.re.ss

dig @ns.domain.tld -x ip.ad.re.ss

dig @ip.ad.re.ss -x ip.ad.re.ss

In the M&M DNS courses, I cover the DNS packet format down to the bit level
(it's a binary protocol, not text like smtp or pop), so I can then teach
dig to the students.

Len




Messages In This Thread:



Return to Digital Point Solutions' Home Page