Query a DNS Record on Linux

Just the answer, with TTLs. Add @1.1.1.1 to ask a specific resolver. Fill in the details below to get the exact command.

  • Free
  • No Sign-Up
  • Runs in Your Browser

Query a DNS Record

dig +noall +answer example.com A

Just the answer, with TTLs. Add @1.1.1.1 to ask a specific resolver.

Linux Command Generator

The command

Commanddig +noall +answer example.com A
CategoryNetwork
Works OnUbuntu, Debian, AlmaLinux, Rocky Linux

Just the answer, with TTLs. Add @1.1.1.1 to ask a specific resolver.

Questions

How do I query a dns record on Linux?
Run: dig +noall +answer example.com A

Run VMs for other people?

Frabs stops spam, scans and floods leaving your customers' VMs, before the abuse report lands.