edns
See your DNS resolver and whether it shares your IP address.
curl -L edns.upset.dev
resolving…
DNS resolver
…
The IP that asked our nameserver for you.
EDNS Client Subnet
…
Whether your resolver passes part of your IP on.
API
Free and open to any website. Follow the redirect, since each check needs a fresh name.
curl -L https://edns.upset.devconst res = await fetch("https://edns.upset.dev/");
const { dns, edns } = await res.json();
// dns.ip: your resolver
// edns.ip: the subnet it shared, if anyimport requests
r = requests.get("https://edns.upset.dev/").json()
print(r["dns"]["ip"], r.get("edns"))How it works
- 01
Look up a fresh name
Your browser looks up a one-time name that only our nameserver answers.
- 02
Your resolver asks us
Our nameserver sees the IP of the resolver that asks.
- 03
See what it shared
If the resolver adds part of your IP (EDNS Client Subnet), we see that too.