dig

Usage

dig [OPTIONS] <target>

Flags

Usage:  dig [@global-server] [domain] [q-type] [q-class] {q-opt}
            {global-d-opt} host [@local-server] {local-d-opt}
            [ host [@local-server] {local-d-opt} [...]]

Examples

Default A lookup

dig justin-p.me    

Short lookup

dig justin-p.me +short

TXT lookup

dig txt justin-p.me +short

Specify DNS server

dig justin-p.me +short @8.8.8.8

Also see

N/A