Which DNS server am I really using?
DNS turns website names into addresses. Whoever runs your DNS can see which sites you visit and can block malware for you. Your router, device, browser or VPN may each be using a different service from the one you think.
Step 1: ask the internet who answered
Browsers can't see your DNS server, so run this one command on the device you want to check. It asks a special Akamai address that replies with the address of the DNS server that asked for it.
Windows
Press Win + R, type cmd, press Enter, then run:
nslookup whoami.akamai.net
Mac or Linux
Open Terminal and run:
nslookup whoami.akamai.net
Look at the last line starting with Address:. That is the address of the DNS server doing the work. (The first Server/Address lines are usually just your router passing the question on.)
Step 2: identify it
We look the address up in our own offline network database; it isn't passed to anyone else or stored.
Should I change my DNS?
| Service | Addresses | Good for |
|---|---|---|
| Your ISP's DNS | Automatic | Usually fine and fast. No malware filtering unless your ISP offers it. |
| Cloudflare 1.1.1.1 for Families | 1.1.1.3, 1.0.0.3 | Fast, blocks malware and adult content. 1.1.1.2 blocks malware only. |
| Quad9 | 9.9.9.9, 149.112.112.112 | Blocks known malicious sites; privacy-focused. |
| Google Public DNS | 8.8.8.8, 8.8.4.4 | Fast and reliable; no filtering. |
