Hostname to IP

Resolve a hostname to its IPv4 and IPv6 addresses.

Hostname to IP Lookup

Convert any hostname into its IP addresses. Type a name like www.github.com or mail.example.org and the tool resolves it through public DNS servers, returning every IPv4 (A) and IPv6 (AAAA) address together with its TTL, plus the CNAME alias when the name points to another host.

How hostname resolution works

Computers talk to each other by IP address, but people remember names. When you open a website, your device asks a recursive DNS resolver for the address behind the name. The resolver walks the DNS hierarchy — root servers, the top-level domain servers and finally the domain's authoritative nameservers — and returns the records it finds. This page performs that same resolution on our server using Cloudflare (1.1.1.1), Google (8.8.8.8) and Quad9 resolvers, so you see what the rest of the internet sees rather than a local cache.

When to use it

  • Troubleshooting: confirm that a subdomain points to the right server after changing DNS.
  • Firewall rules: find the addresses you need to allow-list for an API or SaaS service.
  • IPv6 readiness: check whether a host publishes AAAA records at all.
  • CDN checks: see whether a name is a CNAME to Cloudflare, Fastly, CloudFront or another provider.

Reading the results

Each row shows the record type, the address and the TTL in seconds. A CNAME row means the name is an alias; the addresses that follow belong to the target host. If the tool reports NXDOMAIN, the name does not exist at all; an empty result means the name exists but has no address records. Need the opposite direction? Use IP to Hostname. To see MX, TXT and other records, open the DNS Lookup.

Frequently Asked Questions

Large services publish multiple A and AAAA records for load balancing and redundancy. Your operating system picks one (often rotating between them), and if it fails, clients try the next address.

An A record maps a name to a 32-bit IPv4 address such as 93.184.215.14. An AAAA record maps it to a 128-bit IPv6 address such as 2606:2800:21f:cb07:6820:80da:af6b:8b2c. A host can have both.

This tool queries public resolvers (Cloudflare, Google, Quad9). Your computer may use your ISP's resolver, a VPN, a hosts-file entry or a cached answer, and CDNs often return different addresses depending on where the query comes from.

Time to live is the number of seconds a resolver may cache the answer. A low TTL (60–300 s) means changes propagate quickly; a high TTL (hours) reduces DNS traffic but slows down migrations.