IT lexicon › Networking › dig

dig domain information groper

Networking På svenska → Updated: 2026-07-29

The query tool for DNS, distributed with BIND. It shows the entire answer exactly as it came from the server — flags, sections, TTL and all — rather than an interpreted summary.

The commands that cover most needs: dig example.com for an A record, dig +short when you only want the answer, dig @8.8.8.8 example.com MX to ask a specific server for a specific record type, dig +trace which walks from the root servers showing every delegation, and dig +dnssec for the signatures. The TTL in the answer is often the most important field when debugging a change that "hasn't taken effect" — it tells you how much longer old answers linger in caches. nslookup is considered obsolete but survives because it's preinstalled on Windows; drill and kdig are modern alternatives.

← Back to the lexicon