[ Skip to main content ]
1 3 3 7 4 2 0 6 6 6 1 3 3 7 4 2 0 6 9 6 6 6 1 3 3 7 4 2 0 6 6 6 4 2 0 1 3 3 7 6 9 6 6 6 4 2 0 1 3 3 7 6 9 6 6 6 4 2 0 6 9 1 3 3 7 6 6 6 4 2 0 6 9 1 3 3 7 6 6 6 4 2 0 6 9 6 6 6 1 3 3 7 4 2 0 6 9 6 6 6 1 3 3 7 4 2 0 6 9 1 3 3 7 6 6 6 4 2 0 6 9 1 3 3 7 6 6 6 4 2 0 6 9 1 3 3 7 6 6 6 6 9 4 2 0 1 3 3 7 6 6 6 6 9 4 2 0 1 3 3 7 6 6 6 4 2 0 1 3 3 7 6 6 6 6 9 4 2 0 1 3 3 7 6 6 6 6 9 4 2 0 6 9 1 3 3 7 4 2 0 6 6 6 6 9 1 3 3 7 4 2 0 6 6 6 6 9 1 3 3 7 6 6 6 6 9 4 2 0 1 3 3 7 6 6 6 6 9 4 2 0 1 3 3 7 6 6 6 4 2 0 6 9 1 3 3 7 6 6 6 4 2 0 6 9 1 3 3 7 6 6 6
GUIDE PRIVACY NOBARA

DNS_OVER_HTTPS

Encrypt your DNS queries. Prevent your ISP from seeing every website you visit. For Nobara Linux.

BEGINNER FRIENDLY NOBARA OPTIMIZED WORKS WITH VPN
DNS over HTTPS

WHAT IS DNS AND WHY ENCRYPT IT?

DNS (Domain Name System) is like the phonebook of the internet. When you visit a website, your computer asks a DNS server: "What's the IP address for google.com?"

THE PROBLEM: UNENCRYPTED DNS

By default, DNS queries are sent in plain text. Your ISP can see every website you visit, even if you use HTTPS. They can:

  • • Build profiles of your browsing habits
  • • Sell your data to advertisers
  • • Throttle connections based on detected services
  • • Block access to certain websites

HOW DNS-OVER-HTTPS (DoH) WORKS

DNS-over-HTTPS wraps your DNS queries in encrypted HTTPS traffic, making them indistinguishable from normal web traffic.

WITHOUT DoH

You → ISP (visible): "What's IP of piratebay?"

ISP sees: piratebay request

WITH DoH

You → Cloudflare (encrypted): [ENCRYPTED]

ISP sees: HTTPS to cloudflare-dns.com

STEP 1: CHOOSE A DNS PROVIDER

All providers below support DoH. Choose based on your privacy needs:

CLOUDFLARE (RECOMMENDED)

  • • 1.1.1.1 - Fastest DNS
  • • No logs policy (audited)
  • • US jurisdiction (concern)
  • • DNS-over-HTTPS: yes
https://1.1.1.1/dns-query

QUAD9 (SECURITY)

  • • 9.9.9.9 - Blocks malware
  • • Switzerland jurisdiction
  • • No logs policy
  • • DNS-over-HTTPS: yes
https://dns.quad9.net/dns-query

NEXTDNS (PRIVACY)

  • • Customizable blocking
  • • US jurisdiction
  • • Free tier generous
  • • DNS-over-HTTPS: yes
https://dns.nextdns.io

NOTE: For Nobara (Fedora-based), we'll use Cloudflare as it's the most reliable and has the best performance.

STEP 2: CONFIGURE DOH ON NOBARA

2.1 Using systemd-resolved (Recommended)

Nobara uses systemd-resolved by default. We'll configure it to use DoH via a stub resolver.

# Step 1: Install necessary packages

sudo dnf install -y systemd-resolved

# Step 2: Enable systemd-resolved

sudo systemctl enable systemd-resolved
sudo systemctl start systemd-resolved

# Step 3: Create resolved config for DoH

sudo nano /etc/systemd/resolved.conf

# Step 4: Add/edit these lines

[Resolve]
DNS=1.1.1.1 1.0.0.1
FallbackDNS=2606:4700:4700::1111
# Enable DNS-over-TLS
DNSOverTLS=opportunistic

# Step 5: Restart and verify

sudo systemctl restart systemd-resolved
resolvectl status

2.2 Firefox Browser DoH (Alternative)

Enable DoH directly in Firefox for browser-only protection:

  1. 1.
    Open Firefox → Settings → Network Settings
  2. 2.
    Check "Enable DNS over HTTPS"
  3. 3.
    Choose provider: Cloudflare or NextDNS

2.3 Chromium/Chrome DoH

Chromium browsers have built-in DoH support:

# Enable via flags or settings

chrome://flags/#dns-over-https
# Set to "Enabled" and restart browser

STEP 3: VERIFY DOH IS WORKING

Test if your DNS queries are encrypted:

# Command line verification

# Check if DNS-over-TLS is active
resolvectl query google.com

# Check DNS server
cat /etc/resolv.conf

DOH + VPN = MAXIMUM PRIVACY

For maximum privacy, use both DoH and VPN together:

VPN ONLY

VPN provider sees your DNS queries

VPN + DoH

DNS queries encrypted from VPN

TROUBLESHOOTING

DNS Not Working After Changes

  • • Check /etc/resolv.conf symlink
  • • Verify systemd-resolved is running
  • • Try: sudo systemctl restart NetworkManager

Slow DNS Resolution

  • • Try Quad9 (9.9.9.9) for better routing
  • • Check for firewall blocking port 443
  • • Use nearest server in NextDNS

OTHER DNS PROVIDERS WITH DOH

PROVIDER DoH URL JURISDICTION
Cloudflare https://1.1.1.1/dns-query USA
Quad9 https://dns.quad9.net/dns-query Switzerland
Google https://dns.google/dns-query USA
AdGuard https://dns.adguard-dns.com/dns-query Cyprus
Mullvad https://dns.mullvad.net/dns-query Sweden

>> FAQ / TROUBLESHOOTING

❓ DoH vs DoT vs DoQ — what's the difference?

DoH (DNS over HTTPS): DNS queries wrapped in HTTPS, port 443, hard to block. DoT (DNS over TLS): DNS over a dedicated TLS tunnel, port 853, easier to identify/block. DoQ (DNS over QUIC): newest, uses UDP, fast and encrypted. All three encrypt your queries — DoH is most widely supported.

❓ My ISP can still see which sites I visit, right?

DoH encrypts the DNS query (which domain you ask about), but your ISP can still see the IP you connect to (via SNI in TLS unless you use ECH/ECH+). To hide everything, combine DoH with a VPN or Tor. DoH alone is a meaningful step but not a complete privacy solution.

❓ Is Cloudflare 1.1.1.1 better than Quad9 9.9.9.9?

Different priorities: Cloudflare focuses on speed and minimal logging (claims 24h purge). Quad9 focuses on security — blocks known malware/phishing domains by default. For pure privacy: Mullvad DNS or NextDNS. There's no single "best" — pick based on what you value.

❓ DoH is slower than plain DNS — really?

Modern DoH (especially DoQ) is often faster than system DNS because providers like Cloudflare and Quad9 have huge anycast networks. The TLS handshake adds ~10-50ms on the first query, but connections are pooled afterwards. In practice: no noticeable difference.

❓ Can I use DoH on my phone?

Yes. Android 9+ supports DoT natively under Settings → Network → Private DNS. iOS 14+ supports DoH via profile installation (Cloudflare and AdGuard have one-click installers). For system-wide on both, apps like dnscrypt-proxy or NextDNS app work well.

❓ Some websites stop working after enabling DoH

Usually a corporate network or captive portal (hotel WiFi, university). Workaround: pause DoH when on untrusted networks, or use a "fallback" resolver configuration in systemd-resolved / dnscrypt-proxy that falls back to plain DNS if DoH fails.

❌ NEED HELP?

DNS configuration varies by OS. Consult the official docs for your platform.