Dig Sample Commands

Monday, October 1, 2012

Dig is a useful command line tool that provides advanced DNS query capabilities. To use Dig, first download the latest production release of BIND from the following link. Then, use the attached sample commands: a. Dumping all DNS records from DNZ Zone named “testdomain.test”: “dig.exe -qr testdomain.test any” b. Forcing DNS Zone Transfer (usually this capability is blocked by the source DNS Zone owner, so the Zone Transfer may no success): “dig.exe @DNSServerName testdomain.test axfr” c. Finding the BIND (NIX DNS server) version (usually this capability is blocked by the DNS Server owner, so finding the BIND version...
tags: , , ,
no comments