Overview
Quad9 is a free, non-profit DNS service that prioritizes security and privacy. It blocks access to malicious domains using real-time threat intelligence feeds while protecting user data (no personal data logging).
Switching your DNS to Quad9 can:
-
Protect against phishing, malware, and malicious sites
-
Improve browsing speed and reliability
-
Enhance privacy
Quad9 DNS Addresses
-
IPv4
-
Primary:
9.9.9.9 -
Secondary:
149.112.112.112
-
-
IPv6
-
Primary:
2620:fe::fe -
Secondary:
2620:fe::9
-
(Note: Quad9 also offers DNS-over-HTTPS and DNS-over-TLS for encrypted DNS — advanced users can configure those separately.)
Windows 10 / 11
-
Right-click the network/Wi-Fi icon in the taskbar → Open Network & Internet Settings.
-
Select Change adapter options.
-
Right-click your active network connection → Properties.
-
Highlight Internet Protocol Version 4 (TCP/IPv4) → Properties.
-
Select Use the following DNS server addresses:
-
Preferred DNS:
9.9.9.9 -
Alternate DNS:
149.112.112.112
-
-
(Optional) For IPv6, configure:
-
Preferred DNS:
2620:fe::fe -
Alternate DNS:
2620:fe::9
-
-
Click OK, then reconnect to your network.
macOS (Ventura, Monterey, Big Sur, older)
-
Open System Settings (or System Preferences on older versions).
-
Select Network.
-
Choose your active connection (Wi-Fi or Ethernet) → Details/Advanced.
-
Go to the DNS tab.
-
Remove existing DNS entries and add:
-
9.9.9.9 -
149.112.112.112
(Optional: add IPv6 addresses)
-
-
Click OK → Apply.
Linux (Ubuntu/Debian – Network Manager GUI)
-
Click the network icon → Settings.
-
Select your active connection → Settings.
-
Under IPv4 → DNS, enter:
-
9.9.9.9, 149.112.112.112
-
-
For IPv6, enter:
-
2620:fe::fe, 2620:fe::9
-
-
Save and reconnect.
Linux (Command Line – resolv.conf)
-
Open a terminal:
-
Add:
-
Save (
CTRL+O) and exit (CTRL+X). -
Restart networking:
(Note: Some Linux distributions overwrite resolv.conf — use NetworkManager or systemd-resolved for persistent changes.)
Router Setup (Recommended for Offices)
Applying Quad9 at the router level ensures all connected devices use it:
-
Log into your router/modem admin panel (commonly
192.168.1.1or192.168.0.1). -
Locate DNS settings (under Internet, WAN, or DHCP).
-
Replace existing DNS entries with:
-
Primary:
9.9.9.9 -
Secondary:
149.112.112.112
-
-
Save and restart the router.
Verify Setup
To confirm you’re using Quad9:
-
Visit https://www.quad9.net
-
Or run in Command Prompt/Terminal:
You should see
9.9.9.9or149.112.112.112listed as the server.
✅ Tip: For maximum security, consider using Quad9 with DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT), supported by modern operating systems and browsers.