FORNS / PUBLIC DNS DIRECTORY
Find your DNS
Compare and copy public DNS services for privacy, security, filtering and everyday use
VERIFIED PROVIDERS
Public DNS services
No providers found
Try another search or clear the active filter
Addresses and protocol endpoints are checked against official provider documentation; performance varies by network and location
COMMAND LINE TOOLS
Switch DNS from your terminal
Small, auditable scripts for Windows, Linux and macOS
WINDOWS
PowerShell and CMD
Download the auditable script, then run it locally to view, change or restore DNS settings
irm https://forns.org/powershell/forns.ps1 -OutFile .\forns.ps1Review the file, then run .\forns.ps1 set cloudflare as Administrator
PS> .\forns.ps1 list
cloudflare 1.1.1.1, 1.0.0.1
google 8.8.8.8, 8.8.4.4
quad9 9.9.9.9, 149.112.112.112
PS> .\forns.ps1 set cloudflare
✓ DNS updated on Wi-FimacOS
Shell script
Supports NetworkManager, systemd-resolved and macOS network services without overwriting resolv.conf
curl -fLso forns.sh https://forns.org/shell/forns.sh && chmod +x forns.shReview the file, then run sudo ./forns.sh set cloudflare
$ ./forns.sh current
Wi-Fi 192.168.1.1
$ sudo ./forns.sh set quad9
✓ DNS updated on Wi-FiLINUX
Shell script
Supports NetworkManager, systemd-resolved and macOS network services without overwriting resolv.conf
curl -fLso forns.sh https://forns.org/shell/forns.sh && chmod +x forns.shReview the file, then run sudo ./forns.sh set cloudflare
$ ./forns.sh current
Wi-Fi 192.168.1.1
$ sudo ./forns.sh set quad9
✓ DNS updated on Wi-Fi