SamNet Home All Tools

What's My DNS Server?

Find which DNS resolver your device is using

Your IP Address
Detecting...
Check DNS Records VPN DNS Leak Test

Check Your DNS Server

Windows (Command Prompt):

nslookup google.com

First line shows your DNS server.

Mac / Linux (Terminal):

cat /etc/resolv.conf | grep nameserver

iPhone: Settings → WiFi → tap (i) → DNS

Android 9+: Settings → Network → Private DNS

Recommended DNS servers:
ProviderPrimarySecondary
Cloudflare1.1.1.11.0.0.1
Google8.8.8.88.8.4.4
Quad99.9.9.9149.112.112.112

See our guide to changing DNS.