Install the complete package with local command reference and every published mode.
install dnsdnsUse
A and AAAA map names to addresses, MX describes mail routing, TXT often carries verification or policy data, NS shows delegation, CAA limits certificate authorities and PTR maps an address back to a name. An empty answer for one type does not mean the domain itself is missing.
dns <host|ip|me> [types] [-c]dns meuse the current host
dns example.comshow common records
dns example.com -mxshow only MX records
dns example.com -txtshow only TXT records
dns example.com <types>show selected record types
dns 1.2.3.4show a reverse PTR lookup
dns example.com -ccheck which selected record types exist
-a | -aaaaselect A or AAAA address records
-cnameselect CNAME alias records
-mxselect MX mail-exchanger records
-nsselect NS name-server records
-txtselect TXT text records
-soaselect the SOA authority record
-srvselect SRV service records
-caaselect CAA certificate-authority records
-ptrselect PTR reverse records
-allselect all supported types; the default common set omits SRV and PTR
The default set is A, AAAA, CNAME, MX, NS, TXT, SOA and CAA. -all is intentionally not redundant: it additionally requests SRV and PTR, which are often absent and can make a broad query noisier. Multi-part record values use a visible “ · ” separator so priority, target and TTL remain easy to scan.
Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.
Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.
Base and Minimum are two packages of the same current module release, not separate command versions.
Install the complete package with local command reference and every published mode.
install dnsInstall the reduced package. Local reference is omitted;
install dns -mInstall exactly this published version.
install dns -v 1.2.4Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade dnsRemove the extension block while leaving the core and unrelated modules intact.
install dns -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
dns example.com | dns example.com -mxexample.com
A 93.184.216.34 TTL 3600
AAAA 2606:2800:220:1:248:1893:25c8:1946 TTL 3600
MX 10 mail.example.com TTL 3600dns example.com -mxMX 10 mail.example.com TTL 3600dns example.com -txtTXT v=spf1 -all TTL 3600dns example.com -a -aaaaA 93.184.216.34
AAAA 2606:2800:220:1:248:1893:25c8:1946dns _sip._tcp.example.com -srvSRV 10 5 5060 sip.example.com TTL 3600dns example.com -allA 93.184.216.34
AAAA 2606:2800:220:1:248:1893:25c8:1946
MX 10 mail.example.com
TXT v=spf1 -all
CAA 0 issue letsencrypt.orgdns example.com -srv -cStatus no
Types SRVdns 8.8.8.8PTR dns.googledns does-not-exist.invalidDNS records not foundFinalizes Local and Server Help synchronization and localization safety for