Dig Basics

dig will query a nameserver to give you the proper IP to a name or the get the name for a certain IP. Control of the output is very flexible, but rather unusual. Per default dig also returns the responsible master-servers for your request.

dig www.goldfisch.at default long output for your query
dig +short www.goldfisch.at output is short
dig @ns1.inode.at www.goldfisch.at query a specific nameserver instead of your default nameserver
dig +trace www.goldfisch.at shows you all the way down from the world root-servers to your queried domain
dig +short -x 62.99.149.138 finds the name belonging to a specific IP

 
knowwiki/basics/dig_basics.txt · Last modified: 2007/05/15 10:41 by peter