DNS Lookup Tool

Query DNS record information for domains, including A, AAAA, CNAME, MX, NS, TXT and other record types

1 Uses | 5.0 Rating

DNS Lookup Configuration

Leave blank to use default DNS server (Google DNS). Supported public DNS servers:

  • Google DNS: 8.8.8.8 or https://dns.google/resolve
  • Cloudflare DNS: 1.1.1.1 or https://cloudflare-dns.com/dns-query
  • Quad9 DNS: 9.9.9.9 or https://dns.quad9.net:5053/dns-query
  • OpenDNS: 208.67.222.222 or https://doh.opendns.com/dns-query

Lookup Results

Not Queried

Please enter a domain and click the "Lookup DNS" button to start the query

Usage Instructions

1

Enter Domain

Enter the domain you want to query in the domain input box, for example: google.com

2

Select Record Types

Select the DNS record types you want to query, multiple selections are allowed. Common types are selected by default.

3

Set DNS Server (Optional)

You can specify a particular DNS server for the query, leave it blank to use the system default DNS.

4

Execute Query

Click the "Lookup DNS" button, the system will query the DNS records for the specified domain.

5

View Results

After the query is completed, the results will be displayed in the table, including record type, value, and TTL information.

DNS Basics

DNS Record Types Explained

A

A Record

Record that maps a domain to an IPv4 address. Example: example.com → 93.184.216.34

AAAA

AAAA Record

Record that maps a domain to an IPv6 address. Example: example.com → 2606:2800:220:1:248:1893:25c8:1946

CNAME

CNAME Record

Record that points a domain alias to another domain. Example: www.example.com → example.com

MX

MX Record

Record that specifies mail servers responsible for receiving email for the domain. Example: example.com → 10 mail.example.com

NS

NS Record

Record that specifies DNS servers responsible for managing the domain. Example: example.com → ns1.example.com

TXT

TXT Record

Record that stores text information related to the domain, often used for verification and security configuration. Example: example.com → v=spf1 include:_spf.example.com ~all

PTR

PTR Record

Record that reverse-resolves an IP address to a domain. Example: 93.184.216.34 → example.com

SRV

SRV Record

Record that specifies the server location, port, and priority for a service. Example: _sip._tcp.example.com → 0 5 5060 sipserver.example.com

Frequently Asked Questions

What is TTL?

TTL (Time To Live) refers to the time a DNS record is cached, in seconds. When TTL expires, DNS clients will query the record again. Smaller TTL values can reflect DNS changes faster but increase the load on DNS servers.

Why might query results differ?

Different DNS servers may have different cache states or be configured with different resolution strategies. Additionally, some domains may use geographic DNS technology, returning different IP addresses based on the query location.

What are recursive and iterative queries?

- Recursive query: The DNS server is responsible for querying from the root domain servers until it obtains the final answer and returns it to the client.
- Iterative query: The DNS server only returns the address of the next DNS server it knows, and the client needs to continue querying until it gets the final answer.

DNS Security Tips

  • Regularly check your domain's DNS records to ensure no unauthorized changes have been made.
  • Use multiple different DNS server providers to improve the reliability of resolution services.
  • Configure SPF, DKIM, and DMARC records to prevent email fraud and phishing attacks.
  • Consider using DNSSEC (DNS Security Extensions) to prevent DNS spoofing attacks.
  • For sensitive applications, consider using DoH (DNS over HTTPS) or DoT (DNS over TLS) to encrypt DNS queries.