Which part of the URL gets looked up
DNS knows nothing about pages. It stores records for host names, so a link has to be cut down to its host first. Your browser does the same cut on every click. Here is what the box sends for a few messy inputs:
| You paste | Sent to DNS | Why |
|---|---|---|
https://toolexe.com/json/beautifier?indent=2 | toolexe.com | Path and query belong to the web server, not DNS. |
HTTPS://WWW.Toolexe.COM/ | www.toolexe.com | Host names ignore case. The www label stays, since www is a separate name. |
staging.toolexe.com:8443/login | staging.toolexe.com | The port matters to the connection, never to the lookup. |
café.toolexe.com | xn--caf-dma.toolexe.com | Non-ASCII names travel as Punycode. The result card shows both forms. |
http://[2606:4700:4700::1111]/ | Nothing | The host is already an address. Use IP to Hostname to go the other way. |
Why your answer differs from a colleague's
The CDN picked a nearby edge
Cloudflare, Akamai, Fastly, and CloudFront answer with servers close to the resolver asking. A lookup from Karachi and one from Toronto get different addresses for the same name, and both are correct.
The resolver passed on your location, or didn't
Google Public DNS forwards a trimmed version of your network address (EDNS Client Subnet). Cloudflare 1.1.1.1 drops it. Switch the resolver above and a CDN-hosted site often changes city.
A cached answer outlived a change
Each record carries a TTL in seconds, printed on every hop in the path. Your laptop, your router, and your ISP each keep the old answer until the TTL runs out. A 3600 TTL means up to an hour of stale results after a move.
Round robin shuffled the list
Sites with several A records return all of them in a rotating order. Browsers try the first one. The set stays the same, only the order moves.
Reading the CNAME chain
A CNAME says "this name is an alias, ask about that one instead". Most hosted sites sit behind one or two hops, and the last hop's suffix names the platform even when the IP alone tells you little. The suffixes this page matches:
.cdn.cloudflare.net- Cloudflare. Proxied sites skip the CNAME and answer with Cloudflare addresses directly, which the page also detects.
.cloudfront.net- Amazon CloudFront.
.elb.amazonaws.commeans an AWS load balancer with no CDN in front. .akamaiedge.net,.edgekey.net- Akamai, common on banks, airlines, and large retailers.
.fastly.net- Fastly, behind many news sites and package registries.
.azureedge.net,.azurefd.net- Microsoft Azure CDN or Front Door.
.github.io,.netlify.app,.vercel-dns.com- Static and frontend hosts. GitHub Pages also answers on 185.199.108.0/22 for bare domains.
No CNAME and an address outside every known range usually means a VPS or a dedicated server. Run that address through IP to Hostname. A PTR such as static.12.34.56.78.clients.your-server.de points to Hetzner, for example.
Testing a new server before DNS moves
You are moving a site to a new host and want to see it running there before switching the records. Pin the name to the new address on your own machine only:
-
One request with curl. No files change. The
--resolveflag sends the request to the address you give while keeping the real name for TLS and the Host header.curl -sI --resolve toolexe.com:443:203.0.113.20 https://toolexe.com/ -
A browser session with the hosts file. Add one line, address first. On Windows the file is
C:\Windows\System32\drivers\etc\hostsand needs an editor opened as administrator. On macOS and Linux it lives at/etc/hosts.203.0.113.20 toolexe.com www.toolexe.com -
Flush the old answer. Windows:
ipconfig /flushdns. macOS:sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. Linux with systemd:resolvectl flush-caches. Chrome keeps its own cache, cleared atchrome://net-internals/#dns. - Remove the line afterwards. A forgotten hosts entry keeps you on the old server long after everyone else moved, and the cause is hard to spot weeks later.
The result card above fills both commands with the first address it found, ready to paste.
Where this lookup stops
- The origin behind a CDN stays hidden. A Cloudflare-proxied site shows Cloudflare's edge addresses. The real server is hidden on purpose, and no DNS query reveals it.
- Internal names fail.
intranet.corp,.local, and.lannames live on private DNS. The page refuses them instead of sending a query bound to return NXDOMAIN. Runnslookupon the company network. - One IP, many sites. Shared hosting puts hundreds of domains on one address. The address alone does not identify the site owner.
- A records only, no other types. For MX, TXT, and NS records in one view, use the DNS Lookup page.