whatismyhostname.com

What is my hostname?

Your connection reached us over IPv4 using HTTPS.

Watch for changes

Keep a live log of your IPv4 and IPv6 addresses, useful for testing load balancing, failover and VPNs. The history stays in your browser.

Start watching

Choose how to connect

Use it from scripts

curl whatismyhostname.comYour IP address and hostname as text
/raw/ipJust your IP address
/raw/hostnameJust your hostname (your IP address if there's no reverse DNS)
/json{"hostname": "…", "ip": "…"}
/apiEverything as JSON: IP, family, hostname, whether it's forward-confirmed, and the time

Add -4 or -6 to curl, or use ipv4.whatismyhostname.com and ipv6.whatismyhostname.com, to choose the address family. Every endpoint allows cross-origin requests.

About hostnames

A hostname is a label for a computer or device on a network. On the internet it usually matches a domain name; this site's is whatismyhostname.com.

Many IP addresses have a reverse DNS (PTR) record that points to a hostname, often one that also points back to the address. This site shows the IP address your request came from and its reverse DNS name, if there is one.

Whoever controls an address's reverse DNS can set any name they like, so we also look the name up again. If it leads back to your IP address, the hostname is forward-confirmed.

About this site

Made for the benefit of the internet community. There are no ads and no cookies, and requests are never logged. The history on the Watch for changes page is kept only in your browser.

If you find it useful, send us some kudos so we know: contact@WhatIsMyHostname.com. Thank you!