LOADING...

DNS Lookup

IP & DNS record lookup

Enter a URL or domain name to query Google Public DNS (DNS over HTTPS JSON API) from your browser and view the hostname, IP addresses, and available DNS records.

Your IP address (public address for this connection)
Loading…

What is DNS?

The Domain Name System (DNS) maps domain and host names to IP addresses and other data. Browsers and mail servers use DNS to turn the URLs and destination domains you enter into real endpoints on the network.

Lookups on this page are sent directly from your browser to https://dns.google/resolve (Google Public DNS JSON API). This site’s server does not receive or store the URLs you look up.

Common record types

  • A — IPv4 address for a name. Used to reach the servers that host a website.
  • AAAA — IPv6 address; the IPv6 counterpart of an A record.
  • CNAME — Alias: one hostname points to another canonical name. Often used for CDNs and subdomains.
  • MX — Mail exchangers: priority and hostname pairs that receive email for the domain.
  • NS — Authoritative DNS servers for the zone (often at the zone apex).
  • TXT — Arbitrary text used for domain verification (e.g. Google Search Console), SPF (email sender policy), DKIM public keys, and more.
  • SOA — Start of authority: primary nameserver, admin mailbox, serial, and timing fields for the zone.
  • SRV — Specifies host and port for a service (e.g. SIP, XMPP).
  • CAA — Restricts which certificate authorities (CAs) may issue TLS certificates for the domain.
  • HTTPS / SVCB — Newer records that advertise preferred endpoints, aliases, ports, or parameters for HTTPS and other services.
  • PTR — Reverse DNS: maps an IP address to a hostname.
  • TLSA — DANE: stores certificate or public-key fingerprints in DNS for TLS validation.
  • DNSKEY / DS — DNSSEC keys and delegation signer hashes to detect tampering with DNS data.
  • NAPTR — Includes regular expressions and “next” URIs; used in ENUM and some applications.
  • SSHFP — SSH host key fingerprints for host verification on first connect.
  • CERT / OPENPGPKEY — Publish X.509 or OpenPGP keys in DNS.
  • HINFO — CPU/OS strings (legacy; publishing it is often discouraged).
  • URI / RP — URI or responsible-person contact information.

TXT record examples

example.com.  IN  TXT  "v=spf1 include:_spf.example.net ~all"
example.com.  IN  TXT  "google-site-verification=xxxxxxxx"
_acme-challenge.example.com. IN TXT "challenge-token-string"

SPF helps prevent email spoofing; google-site-verification proves domain ownership in Search Console; _acme-challenge is commonly used for Let’s Encrypt and other ACME DNS-01 challenges.