IP Location & DNS Lookup

Check a public IP’s approximate location or a domain’s current A / AAAA records.

Opening this page asks HackMyIP for your network exit IP. Locations come from IP databases, not GPS, and cannot identify a person or street address.

My public IP

Waiting to query…

Look up an IP or domain

Enter only an address or domain, without https://, a port or a path. Private and reserved addresses are rejected locally. Domains are queried for A / AAAA records; the entered website is never visited.

How to use and read results

  1. View your current public IP above, or enter another public address / domain and press Look up. Typing does not send a query.
  2. IP locations may identify an ISP, VPN or proxy exit. Missing city data is shown as “Not provided”.
  3. A records contain IPv4 addresses; AAAA records contain IPv6 addresses. DNS status 0 means success but may have no records; 3 means the domain does not exist; 2 means resolver failure. TTL is the cache lifetime in seconds.

DNS results come from Cloudflare’s public resolver and may differ from your local network, another region or recently changed records. Returned addresses are not automatically sent to the IP location provider and do not prove website availability or a server’s physical location.

Query data and privacy

Automatic IP lookup: your browser contacts hackmyip.com/api/ip, which receives your public IP. Manual IP lookup also sends the submitted IP to hackmyip.com. DNS lookups send the domain and A / AAAA query types to cloudflare-dns.com, along with the public IP required for the connection. Requests omit the referring page address and site credentials.

This page does not put queries or results in the URL, persistent browser storage or Baidu analytics, and does not relay them through our backend. Providers may process requests under their own policies; do not query confidential domains. JSON, timestamp and encoding tools continue to calculate locally in your browser. The site uses Baidu analytics for page visits.

JSON formatter · Back to all tools