Skip to content

Dig Aliases

Short DNS query commands.

This page introduces one alias group and its common command shortcuts. Read it first to understand naming conventions, expected inputs, and safe execution patterns. Then open the reference appendix for the complete command inventory and exact syntax. These aliases reduce repeated typing and preserve consistent workflow behavior on macOS, Linux, and WSL.

When to use

Use this page before daily shell work when you need predictable command patterns.

What is included

  • Aliases: 10
  • Helper functions: 0
  • Source files: 1

Quick examples

  • ddig
  • d4dig +short -4
  • d6dig +short -6
  • dgadig +all ANY
  • dgsdig +short
  • diggdig @8.8.8.8 +nocmd any +multiline +noall +answer
  • ip4dig +short myip.opendns.com @resolver1.opendns.com -4
  • ip6dig -6 AAAA +short myip.opendns.com. @resolver1.opendns.com.
  • ipsip4; ip6
  • wipdig +short myip.opendns.com @resolver1.opendns.com

Next step

Open the full list: