Linux Setup Guide¶
Configure QuietNet DNS on your Linux system to block ads and trackers system-wide.
Using systemd-resolved (Ubuntu 18.04+, Fedora, etc.)¶
Many modern Linux distributions use systemd-resolved for DNS resolution.
Step 1: Get Your DNS Information¶
- Log in to your QuietNet dashboard
- Go to the Blocklists section
- In the "Your DNS Settings" card, note:
- DoT SNI:
YOUR_API_TOKEN.quietnet.app
- IP Address:
103.107.50.10
Step 2: Configure systemd-resolved¶
-
Check if systemd-resolved is running:
-
Edit the resolved configuration:
-
Add or modify the following settings:
-
Save the file and restart systemd-resolved:
-
Verify your settings:
Look for "DNS over TLS: yes" in the output.
Using Cloudflared for DoH¶
For DNS over HTTPS on any Linux distribution:
Step 1: Install cloudflared¶
Debian/Ubuntu:¶
Fedora:¶
Arch Linux:¶
Step 2: Configure cloudflared¶
-
Create a configuration directory:
-
Create the configuration file:
-
Add the following configuration:
Replace YOUR_API_TOKEN
with your actual API token.
-
Install cloudflared as a service:
-
Start and enable the service:
-
Update your DNS settings to use the local proxy:
Make sure it contains:
Note: This may be overwritten by DHCP. To make it permanent, see the next step.
- Make the changes permanent (using one of these methods):
a. For NetworkManager:
Add:
b. Using resolvconf:
Add:
Then update:
Using NetworkManager with DoT¶
If you're using NetworkManager (common on desktop distributions):
-
Create a new connection configuration:
-
Add the following content:
-
For a specific connection, edit its configuration file (adapt the name to your connection):
-
Locate or add the
[ipv4]
section and modify it: -
Restart NetworkManager:
Using DNSCrypt-Proxy¶
DNSCrypt-proxy is another option that supports DoH, DoT, and more:
-
Install DNSCrypt-proxy (example for Debian/Ubuntu):
-
Edit the configuration:
-
Find and modify these settings:
Note: You'll need to create the proper stamp for your DoH URL.
-
Restart DNSCrypt-proxy:
-
Configure your system to use 127.0.0.1 as DNS server.
Verify Your Configuration¶
To verify that your DNS configuration is working:
-
Test DNS resolution:
-
Check for encrypted connection (if using systemd-resolved):
Look for "TLS: yes" in the output. -
Try visiting an ad-heavy website and see if ads are blocked.
-
Check your QuietNet dashboard to see if DNS queries are being counted.
Troubleshooting¶
DNS Resolution Not Working¶
-
Check if the DNS service is running:
-
Verify DNS settings:
Changes Overwritten After Reboot¶
- This is common with DHCP configurations. Make sure you've followed the steps to make changes permanent.
- For NetworkManager users, create a dispatcher script:
Add:
Make it executable:
Limited Connectivity¶
- Temporarily disable your DNS configuration to check if that's the issue
- Try using the IP directly:
Next Steps¶
- Verify your setup is working correctly
- Configure your blocklists to customize your filtering
- Set up QuietNet on your other devices