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.

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

DNS Record Types Explained

When a hostname is resolved, the DNS system uses different record types depending on what information is being looked up. Understanding these record types is essential for network administrators and developers.

Record TypeFull NamePurposeExample
AAddressMaps hostname to IPv4 addressexample.com → 93.184.216.34
AAAAIPv6 AddressMaps hostname to IPv6 addressexample.com → 2606:2800:220:1:...
CNAMECanonical NameAlias from one hostname to anotherwww.example.com → example.com
MXMail ExchangeRoutes email to the correct mail serverexample.com → mail.example.com
TXTTextArbitrary text - Used for SPF, DKIM, domain verificationv=spf1 include:...
NSNameserverDelegates DNS zone to authoritative nameserversns1.example.com
PTRPointerReverse DNS - Maps IP back to hostname34.216.184.93.in-addr.arpa

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

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