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)
;; send_udp(127.0.0.1:53)
;; answer from 127.0.0.1:53 : 82 bytes
;; HEADER SECTION
;; id = 13425
;; qr = 1    opcode = QUERY    aa = 1    tc = 0    rd = 1
;; ra = 1    rcode  = NXDOMAIN
;; qdcount = 1  ancount = 0  nscount = 1  arcount = 0

;; QUESTION SECTION (1 record)
;; www.freesoft.org.	IN	A

;; ANSWER SECTION (0 records)

;; AUTHORITY SECTION (1 record)
freesoft.org.	38400	IN	SOA	sparky.freesoft.org. kyle.freesoft.org. (
					2004042006	; Serial
					10800	; Refresh
					3600	; Retry
					604800	; Expire
					38400 )	; Minimum TTL

;; ADDITIONAL SECTION (0 records)
;; query status: NXDOMAIN


Next: Zones

Connected: An Internet Encyclopedia
Dig II

 


Dies ist ein Mirror von Connected: An Internet Encyclopedia von Brent Baccala. Die offizielle Projekt-Homepage findet sich im Web unter www.freesoft.org/CIE. Dieser Mirror wurde zuletzt aktualisiert am Samstag, 28 Januar 2006 18:17 +0100.