Tools Practical By Samson Tanimawo, PhD Published Apr 23, 2026 4 min read

dig and host for DNS

dig and host for DNS investigation.

dig

dig api.example.com queries default resolver.

+trace follows the full chain.

Specific resolver

dig @8.8.8.8 api.example.com queries Google DNS.

Useful when suspecting your resolver.

Debugging

+short for clean output; +noall +answer for just answer.

Compose for parsing.