Back to search

dig

command network

DNS lookup utility

Required Packages

sudo apt install -y dnsutils

Options

Query a specific DNS server

Follow the DNS delegation chain from root

Show only the answer section (cleaner output)

Use TCP instead of UDP for the query

IP address for reverse PTR lookup

Generated Command

dig A