Connected: An Internet Encyclopedia
Dig II

Up: Connected: An Internet Encyclopedia
Up: Programmed Instruction Course
Up: Section 2 - Domain Naming
Prev: Dig I
Next: Zones

Dig II

Dig II Try out Dig with the Web form below. Use some of the demonstration queries, and then make up some of your own. Lookup the IP address of your local host. Track how this information is obtained by disabling recursion and demanding authoritative answers (Dig options +norecurse and +aa), which renders caches effectively invisible.


Dig, the domain information grouper, is a tool that sends DNS queries to servers and prints the replies. I think most network engineers find it more useful than nslookup, which has now be depricated by ISC, anyway.

The Web form below uses a Perl script to make DNS queries. It's output is similar to Dig, but not identical, since it's purely Perl-based, so that it works on Windows systems that don't have Dig. If it doesn't work, try the original version at freesoft.org. Dig is available as part of the Bind distribution.

Domain Name: Class:
Nameserver: Type:
Recursion Enabled Authoritative Answer Only

$ dig @localhost www.freesoft.org A IN

;; query(www.freesoft.org, A, IN)
;; setting up AF_INET6 UDP socket with srcaddr [::] ... done
;; setting up AF_INET  UDP socket with srcaddr [0.0.0.0] ... done
;; no nameservers
;; query status: no nameservers


Next: Zones

Connected: An Internet Encyclopedia
Dig II