Hostname to IP Lookup

Resolve a domain name or hostname to its IP address in real time. Uses live DNS resolution from our servers - Useful for checking what IP a hostname currently points to.

How Hostname Resolution Works

When you type a domain name into your browser, your operating system queries a DNS (Domain Name System) resolver to translate that name into an IP address. This process is called forward DNS resolution. Not sure of the terminology? See our FAQ on what a hostname is and our full guide to what DNS is.

StepWhat Happens
1Your device queries its configured DNS resolver (usually your ISP's or a public resolver like 8.8.8.8)
2The resolver checks its cache for a recent answer
3If not cached, it queries the authoritative nameservers for the domain
4The A or AAAA record (IP address) is returned and cached for its TTL duration

Hostname vs IP Address

HostnameIP Address
Exampleexample.com93.184.216.34
Human readableYesNo
Can change over timePoints to different IPsStatic unless changed
Used forWeb browsing, emailNetwork routing, direct connections

Other DNS Record Types

Hostname resolution uses A and AAAA records, but DNS supports many more record types - MX for email routing, TXT for SPF and DKIM, CNAME for aliases, NS for delegation, and PTR for reverse lookups. For a full record-type reference and to query any of them directly, see our DNS Lookup tool.

Average DNS Resolution Time by Region

Measured from a resolver with warm cache to the authoritative nameserver

North America
15 ms
Western Europe
25 ms
Eastern Europe
35 ms
Asia Pacific
45 ms
South America
55 ms
Africa
80 ms

Figures are illustrative estimates for educational purposes, not measured data.

Frequently Asked Questions

What is the difference between a hostname and a domain name?

A domain name (like example.com) identifies a zone in the DNS hierarchy. A hostname is any fully qualified name that resolves to an IP address - Including subdomains like www.example.com or mail.example.com. Every hostname is within a domain, but not every domain name is a hostname.

Why does a hostname sometimes resolve to multiple IPs?

Many services use multiple A records for the same hostname (round-robin DNS) to distribute traffic across servers. Large services like Google or Cloudflare return different IPs depending on your location and load conditions - This is called Anycast or GeoDNS.

What does TTL mean in DNS?

TTL (Time To Live) is the number of seconds a DNS answer can be cached by resolvers before they must fetch a fresh result from the authoritative server. A TTL of 300 means resolvers cache the answer for 5 minutes. Lower TTLs allow faster updates; higher TTLs reduce DNS query load.

Can I use this tool to check if my DNS change has propagated?

Yes. This tool queries DNS in real time from our servers. If you recently changed an A record, run a lookup here to see the current result from our vantage point. Remember that propagation time varies - Old results can persist in caches until their TTL expires.

Related Tools