dig

noun

say it: “DIG” /dɪɡ/

A command that asks the internet's address book which address a name points to.

What does dig do?

dig asks DNS what address a name points to. +short prints just the addresses. An empty answer means the name doesn't exist, or is misspelled, which is a common reason a site "is down".

dig +short example.com        # 104.20.23.154
dig +short bookclub.invalid   # nothing: no such name

In a sentence

  • “dig +short printed nothing, so the name didn't exist.”
  • “Sam used dig to check where the book club's domain pointed.”

Level: Journeyman · More Unix terms at this level

Updated