terminal.cab

All commands

dig

Topic: Network

Program: dig

Asks the DNS server about a name.

Package: net-dns

Usage

dig [@SERVER] NAME [TYPE] [+short] [+noall +answer], dig -x ADDRESS

Description

Ask the DNS server what it knows about a name. Types: A, AAAA, MX, CNAME, NS, TXT, PTR, SOA. In the simulator the answers are data, nothing leaves your device.

Options in the simulator

15 more options of the real program, not in the simulator yet
  • -4 not in the simulator yet

    Explanation to come

  • -6 not in the simulator yet

    Explanation to come

  • -b needs a value not in the simulator yet

    Explanation to come

  • -c needs a value not in the simulator yet

    Explanation to come

  • -f needs a value not in the simulator yet

    Explanation to come

  • -h not in the simulator yet

    Explanation to come

  • -k needs a value not in the simulator yet

    Explanation to come

  • -m not in the simulator yet

    Explanation to come

  • -p needs a value not in the simulator yet

    Explanation to come

  • -q needs a value not in the simulator yet

    Explanation to come

  • -r not in the simulator yet

    Explanation to come

  • -t needs a value not in the simulator yet

    Explanation to come

  • -u not in the simulator yet

    Explanation to come

  • -v not in the simulator yet

    Explanation to come

  • -y needs a value not in the simulator yet

    Explanation to come

Examples

From the lesson Names and other machines
dig +short api.example.com
203.0.113.10

Try it in the terminal

Where you learn it

Lessons

All commands