Get dig.exe on Windows
- Download and extract the BIND binary zip file to a folder from ISC.
- Open a command prompt and navigate to the folder
- Enter dig, no installation is required.
Basic syntax
- dig @dns-server name type
- dig @dns-server -q name -t type
Simplify the output
- dig +nocmd +noall +answer @dns-server name
- dig +nocmd +noall +answer +multiline @dns-server name any
No comments:
Post a Comment