Your DNS server translates website names like example.com into the numeric addresses computers use. Whoever runs it can see every site name you look up, so it is worth knowing which one you are using. Your device settings tell you what it is configured to use. A test tells you who actually answers.
Windows
- Press the Windows key, type
cmdand open Command Prompt. - Run
ipconfig /all. - Find your active adapter (Wi-Fi or Ethernet) and read the DNS Servers lines.
macOS
Open Terminal and run scutil --dns | grep nameserver. The addresses listed are the servers your Mac uses. You can also check System Settings, Network, your connection, Details, DNS.
Linux
On most modern distributions, run resolvectl status. On older systems, run cat /etc/resolv.conf. If you see 127.0.0.53, that is a local helper, and resolvectl status shows the real upstream servers.
Android
Go to Settings, Network and internet, Private DNS. It will say Off, Automatic or a hostname. If it is Off or Automatic, the phone uses the DNS server provided by your Wi-Fi router or mobile network. Tap your Wi-Fi network's details to see the address.
iPhone and iPad
Go to Settings, Wi-Fi, tap the (i) next to your network and scroll to Configure DNS. "Automatic" means the router decides.
What the address means
- An address like
192.168.x.xor10.x.x.xis your router, which forwards lookups to someone else, usually your internet provider. 8.8.8.8is Google Public DNS.1.1.1.1is Cloudflare.9.9.9.9is Quad9.- Anything else is usually your internet provider's own resolver.
Check who really answers
Settings can lie by omission. A VPN, router or app can send lookups elsewhere, and the address in your settings may only be a middleman. The DNS leak test shows which servers actually asked for a set of random names, and whose network they belong to. Compare the result with what your settings say. If they differ and you did not expect it, read do VPNs leak DNS?
Want a different one?
Follow how to change your DNS server. People choose another resolver for speed, filtering or to avoid their provider logging lookups. In some countries, changing it also gets around provider-level blocks; see ISP blocking and DNS in India.