Domain IP Lookup

Two genuinely different moments

dig / nslookup

Full protocol detail, scriptable, offline

Web-based tool

No setup, bulk lookups, shareable

Practical Guides

How to Use a DNS Lookup Tool to Check Records

5 min read

A DNS lookup tool lets you ask the Domain Name System what records are currently published for a hostname. It can save time when a website is unreachable, an email service is not receiving mail, or a recent DNS change needs checking. The useful part is not merely copying an answer: you need to know which record type was queried, which resolver answered, and what that answer does and does not prove. A lookup reports DNS data available to that resolver at that moment. It does not test whether a web server is healthy, whether a mailbox accepts messages, or whether every visitor around the world sees the same result.

Start with the exact hostname and the question

Before opening a DNS checker, write down the precise name you want to inspect. The root domain example.com and a subdomain such as www.example.com can have different records, and an email host such as mail.example.com can differ from both. Decide whether you need an IP address, mail routing, authoritative nameservers, an alias, or verification text. This prevents a common mistake: looking up the root domain's A record when the broken service is actually a subdomain's CNAME or MX configuration. If you have a full URL, identify the hostname portion only; paths, query strings, and page names are not DNS names.

RecordWhat it can help answer
A / AAAAWhich IPv4 / IPv6 addresses are published?
CNAMEDoes this name alias another hostname?
MXWhich hosts are designated to receive email?
NSWhich nameservers are delegated for the zone?
TXTWhat text-based verification or email policies are published?

Run the query for the record types relevant to the problem, then read each result alongside its status. Several addresses can be normal for a CDN, a redundant service, or DNS round-robin. An empty AAAA answer does not automatically mean the entire domain is broken; it can mean the name has no IPv6 record while its A record works. A CNAME points to a different hostname, so that target may need a second lookup before you know the final address. MX results include priorities, and lower numeric preference values are tried before higher values. TXT answers may be split into multiple chunks by DNS tools, even when those chunks represent one logical string.

Use the result as evidence, not a complete health check

A successful DNS response proves that a resolver returned data; it does not prove that the destination accepts connections or serves the right application. To investigate a site outage, compare its DNS answers with a known-good value, then separately test HTTPS, the certificate, and the application response. For email, check MX and relevant policy records, but remember that DNS alone cannot confirm a receiving server will accept a particular message. A timeout, SERVFAIL, NXDOMAIN, and a valid response with no requested record have different meanings. Record the exact error and time so you can compare later rather than treating every blank result as the same failure.

  • Check the exact fully qualified hostname, including the intended subdomain.
  • Query A and AAAA separately when investigating address reachability.
  • Use NS and SOA data when checking zone delegation or authoritative configuration.
  • Repeat a check through another resolver if caching or resolver-specific behavior is suspected.
  • Avoid treating an IP address as proof of a domain's physical origin, owner, or server health.

A repeatable workflow for changes

For a planned DNS edit, save the previous answers before changing anything. After publishing the new record, query the name again and compare the value, record type, and TTL. If the answer is not what you expected, check whether you edited the correct DNS provider and zone; a registrar's nameserver settings can point a domain somewhere other than the dashboard you just changed. Then compare the authoritative nameservers with a recursive resolver to distinguish a zone configuration problem from cached data. Keep the checks focused on public records you administer or are authorized to assess, and do not use a DNS checker as a pretext for probing private networks.

A good DNS lookup tool is most valuable when it presents the record type and outcome clearly, handles IPv4 and IPv6 as separate questions, and does not hide errors behind a single green check mark. Use it to narrow down what DNS currently says, then use a service-specific check for the next layer. For a focused domain-to-IP check, the domain lookup tool can show public address answers; the separate DNS record types guide explains what each common record is for. Knowing those boundaries lets you troubleshoot faster without overclaiming what one query can establish.

Save a useful lookup record

When a lookup is part of an incident or a planned change, preserve the evidence in a compact, repeatable format. Write down the fully qualified name, query type, response status, answer set, TTL, resolver, network location, and timestamp. Add one sentence describing the question you were trying to answer, such as whether the new web host had become visible or whether an MX target still pointed to the retired provider. This makes the result understandable to a teammate who was not present for the first check. If the answer changes later, you can compare like with like rather than trying to remember which hostname or resolver was used. Store only the information your team needs, especially when checks involve non-public names; public lookup services are not the right place for confidential internal hostnames.

Need to check a domain's public DNS addresses? Use the Domain IP Lookup tool.

Free tools for this topic

DNS lookup toolDNS checkerDNS records