Using the dig command

  

Under Unix and Linux, it is recommended that you use the dig command instead of nslookup. The function of the dig command is much more powerful than nslookup. Unlike nslookkup, it has to be set to set, which is cumbersome. Here are some of the more commonly used commands for dig:

# dig The most basic usage dig @server sina.com.cn.

# Viewing zone data transfer with dig

Dig @server zx.xmgd.com. AXFR

# View the incremental transfer of zone data with dig

dig @server zx.xmgd.com. IXFR=N

# dig View reverse resolution

dig -x 210.52.83.228 @server

# Find a domain's authorized dns server

dig xmgd.com. +nssearch

# Tracking the resolution of a domain name from the root server

dig xmgd.com +trace

# See which F root dns server you are using

Dig +norec @F.ROOT-SERVERS.NET HOSTNAME.BIND CHAOS TXT

# View the version number of bind dig @bind_dns_server CHAOS TXT version.bind

Copyright © Windows knowledge All Rights Reserved