The dig command

DNS lookup utility 3 examples from the lessons of the IVski Linux Playground — try them in the terminal next to them.

Examples

dig google.com
dig +short google.com A

Just the IP

dig @1.1.1.1 google.com

Ask a different DNS server directly

Lessons that use dig