Skip to content

Enter a domain name and select Search to view its DNS records.

Enter a domain name, without a URL scheme or path. Use punycode for internationalized names.

TypeDescription
AIPv4 addresses for a domain name.
AAAAIPv6 addresses for a domain name.
MXMail servers that receive email for a domain.
NSAuthoritative DNS servers for a domain.
CNAMEAn alias pointing to another domain name.
SOAAdministrative information about a DNS zone.
TXTText information, including SPF policies and domain verification.
DNSKEYPublic keys used to verify DNSSEC signatures.
CAACertificate authorities allowed to issue SSL/TLS certificates.
DSDelegation signer information linking the DNSSEC chain of trust.

Each line shows Domain Name, TTL, IN, Type, and record values, in that order. IN is the Internet class. TTL and SOA time intervals are in seconds. Examples follow.

example.com.  300  IN  A  192.0.2.1
FieldDescription
TypeRecord type. A identifies an IPv4 address.
Domain NameThe domain that owns the record, such as example.com.
TTLRemaining time the answer may be cached, such as 300 seconds.
AddressThe IPv4 address for the domain, such as 192.0.2.1.
example.com.  300  IN  AAAA  2001:db8::1
FieldDescription
TypeThe record type: AAAA.
Domain NameThe domain name that owns the record.
TTLRemaining time the answer may be cached, in seconds.
AddressThe IPv6 address for the domain, such as 2001:db8::1.
example.com.  300  IN  MX  10 mail.example.com.
FieldDescription
TypeThe record type: MX.
Domain NameThe domain name that owns the record.
TTLRemaining time the answer may be cached, in seconds.
PriorityMail server priority. Lower numbers are preferred, such as 10.
Mail ServerThe domain name of the receiving mail server, such as mail.example.com.
example.com.  300  IN  NS  ns1.example.com.
FieldDescription
TypeThe record type: NS.
Domain NameThe domain name that owns the record.
TTLRemaining time the answer may be cached, in seconds.
Name ServerAn authoritative DNS server for the domain, such as ns1.example.com.
www.example.com.  300  IN  CNAME  example.com.
FieldDescription
TypeThe record type: CNAME.
Domain NameThe domain name that owns the record.
TTLRemaining time the answer may be cached, in seconds.
TargetThe domain name the alias points to. Here, www.example.com. points to example.com.
example.com.  300  IN  SOA  ns1.example.com. hostmaster.example.com. 2026101801 3600 600 1209600 300
FieldDescription
TypeRecord type. SOA contains DNS zone administration information.
Domain NameThe domain name of the DNS zone, such as example.com.
TTLRemaining time the SOA answer may be cached, such as 300 seconds.
Primary NSThe zone’s primary DNS server, such as ns1.example.com.
Responsible EmailThe administrator’s email address. hostmaster.example.com. represents hostmaster@example.com.
SerialA number identifying the zone version, such as 2026101801.
RefreshHow often secondary DNS servers check for updates, such as 3600 seconds.
RetryHow long to wait before retrying a failed update check, such as 600 seconds.
ExpireHow long secondary servers may use zone data without a successful refresh, such as 1209600 seconds.
MinimumAn upper limit for caching negative answers. The smaller of this value and the SOA TTL is used, such as 300 seconds.
example.com.  300  IN  TXT  "v=spf1 -all"
FieldDescription
TypeRecord type. TXT contains text information.
Domain NameThe domain that owns the record, such as example.com.
TTLRemaining time the answer may be cached, such as 300 seconds.
RecordQuoted text used for SPF policies, domain verification, and other purposes.
example.com.  300  IN  DNSKEY  257 3 13 AQIDBA==
FieldDescription
TypeThe record type: DNSKEY.
Domain NameThe domain name that owns the record.
TTLRemaining time the answer may be cached, in seconds.
FlagsFlags indicating the key’s role. Commonly 256 for a zone-signing key or 257 for a key-signing key.
ProtocolThe DNSSEC protocol value, which is 3.
AlgorithmThe signature algorithm number. For example, 13 means ECDSA P-256 / SHA-256.
Public KeyThe Base64-encoded public key. AQIDBA== is a dummy value illustrating the format.
example.com.  300  IN  CAA  0 issue "letsencrypt.org"
FieldDescription
TypeThe record type: CAA.
Domain NameThe domain name that owns the record.
TTLRemaining time the answer may be cached, in seconds.
FlagsProcessing flags, usually 0.
TagThe property: issue authorizes certificate issuance, issuewild covers wildcard certificates, and iodef specifies a reporting destination.
ValueThe certificate authority or reporting destination, such as letsencrypt.org.
example.com.  300  IN  DS  12345 13 2 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
FieldDescription
TypeThe record type: DS.
Domain NameThe domain name that owns the record.
TTLRemaining time the answer may be cached, in seconds.
Key TagA number used to identify the corresponding DNSKEY, such as 12345.
AlgorithmThe signature algorithm number of the corresponding DNSKEY, such as 13.
Digest TypeThe digest hash algorithm. For example, 2 means SHA-256.
DigestA hexadecimal hash derived from the DNSKEY. The example is a dummy value illustrating the format.

Windows includes nslookup. Use dig for DNSKEY, CAA, and DS. You may need to install dig and host separately.

dig @1.1.1.1 example.com A +noall +answer
dig @1.1.1.1 example.com AAAA +noall +answer
dig @1.1.1.1 example.com MX +noall +answer
dig @1.1.1.1 example.com NS +noall +answer
dig @1.1.1.1 example.com CNAME +noall +answer
dig @1.1.1.1 example.com SOA +noall +answer
dig @1.1.1.1 example.com TXT +noall +answer
dig @1.1.1.1 example.com DNSKEY +dnssec +noall +answer
dig @1.1.1.1 example.com CAA +noall +answer
dig @1.1.1.1 example.com DS +dnssec +noall +answer
  • @1.1.1.1:Queries Cloudflare’s DNS resolver.
  • +noall +answer:Displays only the ANSWER section.
  • +noall +dnssec +answer:Also requests DNSSEC records, especially RRSIG signatures, and displays the ANSWER section. Unsigned answers do not include RRSIG records.
nslookup -type=A example.com 1.1.1.1
nslookup -type=AAAA example.com 1.1.1.1
nslookup -type=MX example.com 1.1.1.1
nslookup -type=NS example.com 1.1.1.1
nslookup -type=CNAME example.com 1.1.1.1
nslookup -type=SOA example.com 1.1.1.1
nslookup -type=TXT example.com 1.1.1.1
host -t A example.com 1.1.1.1
host -t AAAA example.com 1.1.1.1
host -t MX example.com 1.1.1.1
host -t NS example.com 1.1.1.1
host -t CNAME example.com 1.1.1.1
host -t SOA example.com 1.1.1.1
host -t TXT example.com 1.1.1.1
host -t DNSKEY example.com 1.1.1.1
host -t CAA example.com 1.1.1.1
host -t DS example.com 1.1.1.1