Skip to content

Setup guide for NextDNS, a DoH proxy with advanced capabilities.

License

Notifications You must be signed in to change notification settings

bestplayerbotphone/NextDNS-Config

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub issues GitHub closed issues GitHub repo size GitHub GitHub Maintained GitHub commit activity GitHub last commit GitHub Maintained Hits


Guidelines 🔖

  1. Prevent overblocking by utilizing the law of diminishing returns (e.g., using sane, quality blocklists; allowing most TLDs; etc.).
  2. Pass the girlfriend test with few exceptions. These deviations are documented throughout the guide.

Create your account

Sign up for NextDNS here!


Security 👮‍♂️

Security settings protect your data from harm, theft, and unauthorized use.^why does this matter?

Threat Intelligence Feeds 1

Enabled Use Threat Intelligence Feeds

AI-Driven Threat Detection 1

⚠️ This feature is still in beta and may cause false positives.

Disabled Enable AI-Driven Threat Detection

Google Safe Browsing 1 2 3 4

💡 Unlike the version embedded in some browsers, this does not associate your public IP address to threats and does not allow bypassing the block.

Enabled Enable Google Safe Browsing

Cryptojacking Protection 1

Enabled Enable Cryptojacking Protection

DNS Rebinding Protection 1 2

Enabled Enable DNS Rebinding Protection

IDN Homograph Attacks Protection 1 2

Enabled Enable Homograph Attacks Protection

Typosquatting Protection 1

Enabled Enable Typosquatting Protection

Domain Generation Algorithms (DGAs) Protection

Enabled Enable DGA Protection

Block Newly Registered Domains (NRDs) 1

⚠️ Blocking NRDs may cause false positives occasionally. Be selective when adding NRDs to your allowlist; and, if you do, NEVER give sensitive information to a NRD. If you plan to set-and-forget your configuration, disable this setting.

Enabled Block Newly Registered Domains (NRDs)

Block Dynamic DNS Hostnames 1 2

💡 If you are using DDNS, note that this setting will not block the DDNS services' own website or their update API.

Enabled Enable Block Dynamic DNS Hostnames

Block Parked Domains 1

Enabled Block Parked Domains

Block Top-Level Domains (TLDs) 1 2 3 4 5

⚠️ Blocking TLDs may cause false positives since this feature blocks both site nagviations and subrequests. However, the entries below should allow for everyday browsing while offering protection against commonly abused TLDs since they have no known legitimate uses.

.bid
.cfd
.discount
.gdn
.loan
.loans
.ooo
.sbs

🛑 Below are additional TLDs you may block, but you may need to allowlist sites on occasion. If you plan to set-and-forget your configuration, skip this setting.

.fit
.surf
.cn
.monster
---
.agency
.buzz
.cf
.ga
.gq
.ml
.pw
.ru
.tk
.top
.zone

📝 If you would rather block TLDs with an adblocker (e.g., easier to troubleshoot breakage), add the first two filterlists here.

Block Child Sexual Abuse Material

Enabled Block Child Sexual Abuse Material


Privacy 🔒

Privacy features limit the amount of data that companies can collect about you. Privacy is a spectrum. What you need varies on your threat model, interest, and skillset.^why should I care? I have nothing to hide

Blocklists 1

Blocklists are community generated lists that block ads and trackers. Filters can be categorized into five tiers of coverage:

  1. None: no breakage; NextDNS still protects against malicious threats (à la security settings) but will allow ads and trackers
  2. Basic: rare breakage; prioritizes functionality over blocking; very forgiving
  3. Balanced: minimal breakage; largely set-and-forget but you may need to allowlist occasionally to unsubscribe from junk email
  4. Strict: moderate breakage; prioritizes privacy over user experience; must manage your allowlist regularly
  5. Aggressive: excessive breakage; many false positives; use on a separate profile to lockdown single-purpose devices

We recommend you remove the NextDNS Ads & Trackers Blocklist and select the minimum number of useful lists. Here are the suggested blocklists for each category:

Recommended Alternate
Basic HaGeZi - Multi LIGHT 1Hosts (mini)
Balanced HaGeZi - Multi NORMAL 1Hosts (Lite) + oisd
Strict HaGeZi - Multi PRO++ 1Hosts (Pro) + oisd
Aggressive HaGeZi - Multi ULTIMATE 1Hosts (Xtra)

💡 The Balanced tier is recommended for everyday browsing, based on my testing and user feedback.1 2 3 4 5 6

❓ You may wonder why other lists are not utilized. This is because many list maintainers:

  • do not remove false positives and/or are no longer active 1 2
  • already aggregate common blocklists into their own list (Easylist/Fanboy, AdGuard, Steven Black, etc.) 1 2 3
  • offer no meaningful additional coverage when compared with the chart combinations above 1

Native Tracking Protection 1

Add all the device brands that you use. There's no advantage in adding brands you don't have; however, there’s no disadvantage in adding unused brands, either.

Windows
Apple
Samsung
Xiaomi
Huawei
Amazon Alexa
Roku
Sonos

Block Disguised Third-Party Trackers 1 2 3 4 5

Enabled Block Disguised Third-Party Trackers

Allow Affiliate & Tracking Links 1 2

💡 Your IP address will automatically be hidden (via TCP proxying) to preserve your privacy.

⚠️ Disabling may cause false positives when opening some emails.

Enabled Allow Affiliate & Tracking Links


Parental Control 👨‍👩‍👦

YouTube Restricted Mode

Disabled Enforce YouTube Restricted Mode

Block Bypass Methods 1

⚠️ Enabling may cause unintended breakage.

Disabled Block Bypass Methods


Denylist ⛔

Denylist entries block any requests from that source. The entries below may further harden Balanced blocklist profiles while not interfering with everyday browsing.

Apple tracking domains 1 2 3 4

Not currently in NextDNS's Native Tracking Protection list: 1

xp.apple.com (unblock for device updates!)
acfeedbackws.icloud.com
api-adservices.apple.com
feedbackws.fe.apple-dns.net
feedbackws.icloud.com
iadsdk.apple.com
notes-analytics-events.apple.com
notes-analytics-events.news.apple-dns.net
stocks-analytics-events.news.apple-dns.net
weather-analytics-events.apple.com
weather-analytics-events.news.apple-dns.net

Twitter tracker

syndication.twitter.com

NVIDIA Gefore Experience 1

events.gfe.nvidia.com

Junk surveillance software

a-spy.com
aispyer.com
alltracker.org
spappmonitoring.com

Allowlist ✅

Allowlist entries override any blocks. These entries may be needed for Strict and Aggressive blocklist profiles.

Facebook / Instagram 1

graph.facebook.com
graph.instagram.com
i.instagram.com

Apple device updates 1 2 3 4

A known tracking domain, but it's needed for device updates

xp.apple.com

Apple iMessage GIFs 1 / Spotlight Search 2

smoot.apple.com

Apple Store 1

amp-api-edge.apps.apple.com
amp-api-search-edge.apps.apple.com

Xiaomi device updates 1

update.intl.miui.com

Google Nest usage metrics 1

logsink.devices.nest.com

Yahoo Mail 1

consent.yahoo.com
guce.oath.com
pr.comet.yahoo.com

Spectrum login 1

pov.spectrum.net

Zoom 1 2

logfiles.zoom.us
us04logfiles.zoom.us
us04zpns.zoom.us

YouTube history 1

s.youtube.com

Hulu 1

ads-fa-darwin.hulustream.com

Epic Games Launcher 1

eulatracking-public-service-prod06.ol.epicgames.com

NVIDIA Gefore Experience 1

gfe.nvidia.com
nvgs.nvidia.cn

Chick-Fil-A App 1

tmetrix.my.chick-fil-a.com
js.media-lab.ai

CBS News livestream 1 2

doppler-config.cbsivideo.com
production-cmp.isgprivacy.cbsi.com
pubads.g.doubleclick.net
tags.tiqcdn.com 
dcf.espn.com
glimmer.hearstapps.com

Ghostery Analytics (opt-in)

User data is removed. Contributes to the Human Web and WhoTracks.me data.

collector-hpn.ghostery.net
collector-hpn.privacy.ghostery.net
d.ghostery.com

NextDNS

Just in case a filterlist goes haywire and blocks your access

nextdns.io

Settings ⚙️

Logs

Storage location → 🇨🇭 Switzerland

Block Page

⚠️ Enabling may cause breakage if the NextDNS Root CA is not on your devices. This setting also breaks iCloud Private Relay, Yahoo! Mail, and the NAVER app.

Disabled Enable Block Page

Anonymized EDNS Client Subnet 1

Enabled Enable Anonymized EDNS Client Subnet

Cache Boost 1

Enabled Enable Cache Boost

CNAME Flattening 1 2 3

⚠️ Enabling may cause breakage with Yahoo! Mail, but is okay otherwise.

Enabled Enable CNAME Flattening → (optional)

Web3 1 2

Enabled Enable Web3 → (optional)


FAQ ❓

How do I signup for NextDNS?

Click here!

"I'm thinking about having as less as possible activated so that NextDNS doesn't get slow, or does it not affect the speed of NextDNS?"1

The amount of settings your enable/disable does not affect your DNS latency.

Is it redundant to set DoH at browser-level if I'm already using it at system-level?

Unless you use a separate profile for the browser, it is not neccessary.1 However, I recommend setting it in your web browser anyway.

If I have a profile for my router and another profile for my device, which one will my device use?

The device will use the profile set by the NextDNS app or the installed root CA. However, if the device has not been configured to use a separate profile, then it will use the wifi/router configuration.1

Can I block YouTube ads with NextDNS only?

No, you cannot block first-party ads using only DNS-level blocking. You will need an adblocker.

What browser should I use that has adblocking?

Here are the suggested browsers for each operating system:

Browser Windows macOS Linux iOS Android
Brave x x x x x
Firefox x x x
Safari x x
Orion x x

What is the difference between security, privacy, and anonymity?

See article | video

Does NextDNS hide activity from my Internet Service Provider (ISP)?

No. NextDNS is only concerned about DNS traffic. You would need a quality VPN to hide all activity from your ISP.


Mentions 📚

User Comments

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

Guides

Contributions


Support ❤️

I’m a one-person operation, running this page as a passion project in my time off. If you enjoy my work, please leave a tip! Your support is incredibly appreciated and allows me to dedicate time to this project 😊

Bitcoin: 334gaiEjn6wY1VksQvYe5L668JjtPEPyiM

PayPal: paypal.me (forthcoming)


Free Website Counter
since 23 July 2022

About

Setup guide for NextDNS, a DoH proxy with advanced capabilities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published