Hostname to IP
Resolve a public hostname to the IP addresses returned by DNS.
Last updated: May 29, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Hostname to IP?
Hostname to IP resolves a domain or subdomain into the address records that clients use to connect to a server. It queries A records for IPv4 addresses and AAAA records for IPv6 addresses, then shows the values, TTL, and any CNAME records returned by the resolver. This is useful when checking where a website, API endpoint, CDN hostname, or mail host currently points.
How to Use Hostname to IP
Enter a hostname such as example.com or api.example.com.
Click Find IPs.
Review the A and AAAA records returned by DNS.
Copy a single IP address or copy/download the full report.
Common Use Cases
- Confirming the public IP address used by a website or API endpoint.
- Checking whether a DNS migration points to the expected new server.
- Seeing whether a hostname has IPv6 AAAA records configured.
- Debugging CDN or CNAME-backed hostnames before changing DNS.
- Collecting address records for firewall allowlist planning.
Example Input and Output
Resolving a hostname to address records.
cloudflare.comA: 104.16.132.229
A: 104.16.133.229
AAAA: 2606:4700::6810:84e5
AAAA: 2606:4700::6810:85e5How This Tool Works
The tool queries A and AAAA records through the existing DNS-over-HTTPS proxy, normalizes the returned records, and displays address values, TTLs, and related CNAME records.
Technical Stack
Privacy Note
The hostname is sent to the WebToolsPlanet DNS proxy and then to Cloudflare DNS-over-HTTPS. Do not use public DNS tools for confidential internal hostnames.
Frequently Asked Questions
What is the difference between a hostname and an IP address?
A hostname is the readable name, such as api.example.com. An IP address is the numeric network address returned by DNS that clients use to connect to the host.
Why do I see multiple IP addresses?
Many domains return multiple addresses for load balancing, redundancy, CDN routing, or separate IPv4 and IPv6 support.
What does TTL mean?
TTL is the time-to-live value in DNS. It tells resolvers how long they may cache the record before checking again.
Does this show private DNS records?
No. The tool queries public DNS. Internal records only visible inside a private network will not appear here.
Is the hostname processed in my browser?
The input is sent to a server-side DNS proxy because browsers cannot perform raw DNS lookups directly.
Related Tools
IP to Hostname
Run a reverse DNS lookup for an IPv4 or IPv6 address and find PTR hostnames.
DNS Lookup Tool
Query A, AAAA, MX, TXT, CNAME, NS, and SOA DNS records globally using Cloudflare DoH — for email, SSL, and domain debugging.
MX Lookup
Look up mail exchange records for a domain and inspect MX priorities, hosts, and TTL values.
Nameserver Lookup
Check authoritative NS records for a domain and see which DNS provider serves the zone.
IP Address Lookup
Look up geolocation, ISP, ASN, and timezone data for any IPv4 or IPv6 address — with automatic detection of your current IP.
CIDR Calculator
Calculate subnet details from a CIDR notation — network address, broadcast, first/last host, usable hosts, subnet mask, and binary representation.

