NextDNS Setup: Free Limit, Every Device & Best Settings

Key takeaway

NextDNS is a cloud DNS resolver that blocks only what you tell it to: ads and trackers, malware, adult sites or individual apps, set per configuration. It's free for 300,000 queries a month, then keeps resolving without filtering or logs until the month resets; Pro costs $1.99 a month in the US. Set it up with your configuration ID: abc123.dns.nextdns.io in Android's Private DNS, NextDNS's app or a profile from apple.nextdns.io on iPhone and Mac, DNS over HTTPS or the app on Windows, and the CLI on routers. Then open test.nextdns.io: "status": "ok" means it's working.

Check it now

Open DNS Leak Test
NextDNS setup guide showing the 300,000-query free limit, configuration ID endpoints and setup for each device
NextDNS setup guide showing the 300,000-query free limit, configuration ID endpoints and setup for each device
Start reading
  1. What Is NextDNS?
  2. Is NextDNS Free? The 300,000-Query Limit and Pricing
  3. How a NextDNS Configuration ID Works
  4. How to Set Up NextDNS on Every Device
  5. The Best NextDNS Settings to Change
  6. NextDNS Speed and Privacy: DNS Robot's Test
  7. How to Check NextDNS Is Working (test.nextdns.io)
  8. NextDNS vs AdGuard DNS vs Cloudflare for Families
  9. NextDNS Not Working? Common Causes
  10. NextDNS FAQ

What Is NextDNS?

NextDNS is a DNS resolver that works as a firewall you configure yourself. You create a configuration at my.nextdns.io, choose what it blocks (ads and trackers, malware and phishing, adult sites, apps such as TikTok or Fortnite), then point each device at it with your configuration ID. It's free for 300,000 queries a month; the Pro plan, with no limit, costs $1.99 a month in the US.

Because it works at the DNS level, blocking covers every app, not just the browser, and runs on NextDNS's servers rather than your device: a blocked name gets 0.0.0.0 (or an optional block page) instead of its real address. NextDNS Inc. was founded in May 2019 in Delaware by Romain Cointepas and Olivier Poitrey and runs its own anycast network, with servers from two different providers in each location.

See which DNS servers your device uses right now

Is NextDNS Free? The 300,000-Query Limit and Pricing

Yes, with a monthly cap. The free plan includes 300,000 queries a month, unlimited devices, unlimited configurations and every feature. NextDNS emails you at 250,000 queries and again at 300,000. Past the cap it doesn't cut you off: in its own words it "becomes a standard DNS resolver, with no filtering, no logging" until the next month.

That's about 10,000 queries a day. Whether it's enough depends on how many devices share the account, so watch the count in the Analytics tab for a week before paying.

USD prices as nextdns.io/pricing shows them to US visitors (Internet Archive capture, 4 September 2026). The page uses local currency elsewhere: from India on 26 October 2026, Pro was ₹159 a month or ₹1,590 a year.
PlanPrice (US)QueriesMeant for
Free$0300,000 a monthAnyone, community support
Pro$1.99 a month or $19.90 a yearUnlimitedPersonal and close family use
Business$19.90 a month or $199 a year, per 50 employeesUnlimitedSmall and medium businesses, email support
Education$19.90 a month or $199 a year, per 250 studentsUnlimitedSchools and universities, email support

How a NextDNS Configuration ID Works

Every configuration has a short ID, shown on the Setup tab of my.nextdns.io (NextDNS's API, CLI and Mac app call it the profile ID). NextDNS needs that ID on every query to know which settings to apply, and each protocol carries it differently:

`abc123` stands for your own ID. Encrypted endpoints need no IP linking.
ProtocolYour endpointWhere the ID goes
DNS over TLS / QUIC (Android Private DNS)abc123.dns.nextdns.ioIn the hostname
DNS over HTTPShttps://dns.nextdns.io/abc123In the URL path
Plain DNS over IPv6Two addresses unique to your configurationIn the last bits of the address
Plain DNS over IPv4Two addresses from a shared pool, shown on your Setup tabNowhere: you link your public IP instead

Linked IP is the weak spot. Plain IPv4 DNS has no room for an ID, so NextDNS matches queries by your public IP, which breaks whenever that IP changes, as it often does on dynamic home lines and behind carrier-grade NAT. A DDNS hostname or an update URL helps; encrypted DNS avoids the problem.

To name a device in the logs, put the name before the ID in DoT, with -- for a space (John--Router-abc123.dns.nextdns.io), or after it in DoH (https://dns.nextdns.io/abc123/Office%20PC).

How to Set Up NextDNS on Every Device

Sign up at my.nextdns.io, open the Setup tab and copy your ID: the tab shows your exact endpoints and detects the device you're on. Below are the methods it lists for each platform (checked 26 October 2026). Replace abc123 with your ID.

Android: Private DNS

Android 9 and later have Private DNS (DNS over TLS) built in, and it's the only Android method NextDNS lists. It covers Wi-Fi and mobile data for every app that uses the system's DNS.

  1. Open Settings > Network & internetOn Samsung phones it's Settings > Connections.
  2. Tap Private DNSSome phones put it under Advanced or More connection settings.
  3. Choose Private DNS provider hostname
  4. Enter abc123.dns.nextdns.io and tap SaveUse your own ID, then open a website: if pages stop loading, the hostname is wrong or the network blocks port 853.

iPhone, iPad and Mac: the App or apple.nextdns.io

On iPhone and iPad, NextDNS recommends its App Store app. The alternative is a configuration profile, which uses Apple's built-in encrypted DNS (iOS 14 and macOS 11 or later) with no app running:

  1. Open apple.nextdns.io on the deviceEnter your configuration ID. Optionally add a device name, Wi-Fi networks where NextDNS should be off, and domains that should bypass it.
  2. Tap Download
  3. Install the profileiPhone and iPad: Settings > Profile Downloaded > Install. Mac: open the .mobileconfig file, then System Settings > General > Device Management, double-click the NextDNS profile and click Install.

On a Mac you can also install NextDNS's app from nextdns.io/download/macos/stable, its recommended Mac method, and enter your profile ID when it asks.

Windows 11: DNS over HTTPS or the App

Windows 11 can send DNS over HTTPS natively, and NextDNS lists this as a recommended method:

  1. Open Settings > Network & internet > Wi-Fi (or Ethernet)For Wi-Fi, click Hardware properties.
  2. Click Edit next to DNS server assignment and choose Manual
  3. Turn on IPv4 and set the preferred serverPreferred DNS: 45.90.28.0. DNS over HTTPS: On (manual template), with the template https://dns.nextdns.io/abc123.
  4. Set the alternate server and saveAlternate DNS: 45.90.30.0, with the same template. Click Save.

Windows 10 has no DNS over HTTPS setting, so use the app from nextdns.io/download/windows/stable: right-click its tray icon, open Settings…, paste your Configuration ID, then choose Enable from the same menu.

Chrome, Edge, Brave and Firefox

To cover one browser only, set its secure DNS to a custom provider: https://dns.nextdns.io/abc123. In Chrome that's Settings > Privacy and security > Security > Use secure DNS > Add custom DNS service provider.

In Firefox, choose Max Protection under DNS over HTTPS. NextDNS asks for this strict mode because Firefox's other modes fall back to system DNS when a lookup fails, which lets blocked domains through.

Routers, Linux and the NextDNS CLI

For a router, NextDNS recommends its open-source CLI: a small proxy that turns every device's plain DNS into DNS over HTTPS and can send each device's name and model to your logs. It runs on OpenWrt, AsusWRT-Merlin, pfSense, OPNsense, UniFi, EdgeOS, Firewalla, Synology, DD-WRT and most Linux distributions. Have your configuration ID ready, then run:

Install the NextDNS CLI
sh -c 'sh -c "$(curl -sL https://nextdns.io/install)"'

# Afterwards
nextdns restart   # restart the service
nextdns log       # show its log

# Run the install command again to upgrade or uninstall

If your router can't run it, enter the two IPv6 addresses from the Setup tab as its DNS servers, or the IPv4 pair with a linked IP. With dnsmasq, add-cpe-id=abc123 attaches your ID to each query so no IP linking is needed.

The Best NextDNS Settings to Change

A new account's first configuration isn't empty. The dashboard's own code (read on 26 October 2026) turns on threat intelligence feeds, Google Safe Browsing, cryptojacking, IDN homograph, typosquatting, DGA and CSAM protection, one ads-and-trackers blocklist, disguised-tracker blocking, logging and Anonymized EDNS Client Subnet. Left off, among others, are DNS Rebinding Protection, which NextDNS suggests turning on unless you rely on domains that resolve to private IPs, and the blocks for newly registered and parked domains. From there, these settings matter most.

Blocklists: Add One, Not Five

NextDNS's blocklist catalog, which feeds the Privacy tab, held 83 lists on 26 October 2026. Bigger isn't better: every extra list adds false positives, and some lists in the catalog haven't been updated in years.

From NextDNS's public blocklist catalog (api.nextdns.io/privacy/blocklists), read 26 October 2026.
BlocklistDomainsLast updated
NextDNS's own list (nextdns-recommended, on by default)75,72826 Oct 2026
HaGeZi Multi PRO208,55626 Oct 2026
OISD233,86826 Oct 2026
AdGuard DNS filter179,65726 Oct 2026
1Hosts (Xtra)786,1693 Sep 2026
notracking419,96126 Jun 2023
Energized Basic, Blu and Ultimate09 Jan 2026

A sensible start is the default list plus one maintained list such as HaGeZi Multi PRO or OISD. When something breaks, each blocked entry in the Logs tab says "Blocked by" and names the list, and you can allow the domain from there.

Native Tracking Protection

This blocks the telemetry that operating systems and devices send home on their own. On 26 October 2026 it covered eight vendors: Windows, Apple, Samsung, Xiaomi, Huawei, Alexa, Roku and Sonos. Add only the vendors whose devices you own, one at a time, and check the logs if a feature on that device stops working.

Parental Control

Block whole categories (porn, gambling, dating, piracy, gaming, social networks, video streaming) or any of 43 named services, from TikTok and Roblox to Discord and ChatGPT. You can also enforce SafeSearch and YouTube Restricted Mode, and use Recreation Time to allow some sites, apps or games only at set times each day.

Logs, Retention and Where They're Stored

Logs are on in a new configuration. In Settings you can switch them off or keep them for 1 hour, 6 hours, 1 day, 1 week, 1, 3 or 6 months, 1 year or 2 years, stored in the United States, the European Union or Switzerland (NextDNS's homepage also lists the United Kingdom). With logs off, NextDNS's privacy policy says each query and its answer are discarded right after the reply goes back, and it never sells or shares user data.

NextDNS Speed and Privacy: DNS Robot's Test

We timed NextDNS's public endpoints without an account from a home connection in India on 26 October 2026: one warm-up query, then the median of 5 lookups of example.com, run twice a minute apart. test.nextdns.io told us which NextDNS server answered.

DNS Robot's test, 26 October 2026, about 21:41 and 21:42 IST, from India. In run 1, one of the queries to 45.90.30.0 got no answer, so that median is of four.
EndpointProtocolServer that answeredMedian, run 1 / run 2
dns.nextdns.ioDoH (open connection)Mumbai34 / 34 ms
dns.nextdns.ioDoT (open connection)Mumbai34 / 35 ms
45.90.28.0Plain DNS, IPv4Mumbai30 / 30 ms
45.90.30.0Plain DNS, IPv4Amsterdam203 / 158 ms
2a07:a8c0::Plain DNS, IPv6Mumbai30 / 29 ms
2a07:a8c1::Plain DNS, IPv6Vienna153 / 152 ms
AdGuard DNS dns.adguard-dns.comDoH (open connection)Not checked63 / 64 ms
Cloudflare family.cloudflare-dns.comDoH (open connection)Not checked31 / 33 ms

First, the encrypted hostname is the fast path. dns.nextdns.io uses NextDNS's "ultralow" DNS steering to pick a nearby server, while the anycast addresses go wherever routing sends them: from our network, the second pair (45.90.30.0, 2a07:a8c1::) landed in Europe at about five times the latency. Prefer DoH or DoT; with plain IPs, test both, or time them from your own browser with our DNS Speed Test.

Second, NextDNS validates DNSSEC: it returned SERVFAIL for dnssec-failed.org. Without an ID it also passed no client subnet to Google's test name o-o.myaddr.l.google.com, which saw only NextDNS's Mumbai server; Google Public DNS passed our real /24 subnet, AdGuard a different /24, Cloudflare none. A configuration differs: its Anonymized EDNS Client Subnet setting, on by default, sends a subnet that NextDNS designed to keep CDN speed without revealing your own address. You can switch it off in Settings.

Time NextDNS against other resolvers from your browser

How to Check NextDNS Is Working (test.nextdns.io)

Open test.nextdns.io in a browser on the device. It returns a few lines of JSON about the resolver that looked the page up. Here's what it showed on our Mac with the ISP's DNS, then through NextDNS over DoH (addresses removed):

test.nextdns.io, 26 October 2026
Not using NextDNS:
{
  "status": "unconfigured",
  "resolver": "<your ISP's resolver>",
  "srcIP": "<your public IP>",
  "server": "vultr-blr-1"
}

Using NextDNS (DoH, no configuration ID):
{
  "status": "ok",
  "protocol": "DOH",
  "client": "<your public IP>",
  "srcIP": "<your public IP>",
  "anycast": false,
  "server": "ls-bom-1",
  "clientName": "unknown-doh"
}
  • unconfigured: this device isn't using NextDNS. resolver is who asked instead; the dashboard names it (for us, our ISP, Reliance Jio).
  • ok: NextDNS answered. protocol shows how the query arrived (DOH, DOT, UDP and so on), and server names the NextDNS location (bom is Mumbai).
  • mismatch: shown by the Setup tab, which runs the test with your ID: NextDNS answered without that configuration (an unlinked IPv4 address, an endpoint without your ID, or another ID).

If a site won't load, compare its real public answer in DNS Lookup with what your device gets: 0.0.0.0 means NextDNS blocked it, and the Logs tab says which list did. DNS Leak Test shows every resolver your device actually uses, so it catches a VPN or browser that skips NextDNS.

Look up a domain's real public answer

NextDNS vs AdGuard DNS vs Cloudflare for Families

All three filter at the DNS level, but they suit different people. We sent the same names to each public endpoint on 26 October 2026:

DNS Robot's test, 26 October 2026, from India. With a configuration ID, NextDNS blocks whatever your configuration lists.
TestNextDNS (no ID)AdGuard DefaultAdGuard FamilyCloudflare 1.1.1.3
doubleclick.net (ads)Real address0.0.0.00.0.0.0Real address
A well-known adult siteReal addressReal addressAdGuard block page0.0.0.0
dnssec-failed.orgSERVFAILSERVFAILSERVFAILSERVFAIL
AdGuard's limits from adguard-dns.io/en/license.html (free Starter plan: 300,000 requests, 5 devices, 100 rules), read 26 October 2026.
NextDNSAdGuard DNSCloudflare for Families
Free use300,000 queries a month, unlimited devicesPublic servers free with no account; free account: 300,000 requests a month, 5 devicesFree, no account
Blocks ads and trackersYesYesNo
Your own blocklists and allow rulesYesPartlyNo
Blocks adult sitesYesYesYes
Filters without an accountNoYesYes
Our median DoH lookup34 ms63 ms31 ms

Choose NextDNS if you want to decide what's blocked for each person or device and see the logs. Choose AdGuard DNS's free public servers (94.140.14.14) if you want ad blocking with no account at all. Choose Cloudflare for Families if malware and adult filtering is all you need: 1.1.1.3 is free, needs no account and blocks no ads. Our Cloudflare DNS guide lists every Families address.

NextDNS Not Working? Common Causes

  • A VPN is connected: on iPhone and Mac its DNS replaces the NextDNS profile.
  • You passed 300,000 queries: free accounts stop filtering until the month resets.
  • Your public IP changed: linked-IP setups stop matching. Relink, use DDNS, or switch to DoH or DoT.
  • The network blocks port 853: DoT (Android Private DNS) uses it and firewalls block it easily; DoH uses port 443, like web traffic.
  • Safari does nothing on a blocked link: NextDNS reports that iOS Safari silently ignores links to domains blocked with 0.0.0.0. Turn on the Block Page.
  • YouTube ads still play: NextDNS says DNS can't block them. Use a browser ad blocker.
  • Firefox bypasses it: when its own DNS over HTTPS is on, it skips system DNS. Point it at your NextDNS URL with Max Protection.

Is NextDNS really answering your lookups?

Run DNS Robot's free DNS Leak Test on the device you just set up. Tell it you're checking NextDNS and the verdict says whether NextDNS really answers, or which resolver does instead.

Sources

  1. NextDNS pricing (Free: 300,000 queries/month; Pro, Business, Education), NextDNS
  2. What happens after 300k queries?, NextDNS Help Center
  3. NextDNS CLI wiki: installation, commands and supported routers, NextDNS on GitHub

NextDNS FAQ

Is NextDNS free?

Yes, up to 300,000 DNS queries a month, with every feature, unlimited devices and unlimited configurations. Past that it keeps answering lookups but stops filtering and logging until the next month.

How much does NextDNS Pro cost?

$1.99 a month or $19.90 a year in the US, for unlimited queries. The pricing page shows local currency elsewhere: from India on 26 October 2026 it was ₹159 a month or ₹1,590 a year.

What happens after 300,000 queries on NextDNS?

NextDNS emails you at 250,000 and at 300,000 queries. After the cap it works as a standard resolver with no filtering and no logging, so pages still load, until the monthly count resets.

Is NextDNS safe to use?

Yes. It validates DNSSEC, lets you switch logs off (they're on by default) or choose how long and where they're kept, and its privacy policy says it never sells or shares user data.

Where do I find my NextDNS configuration ID?

On the Setup tab at my.nextdns.io, where it's also built into your endpoints: abc123.dns.nextdns.io for DoT and Android Private DNS, and https://dns.nextdns.io/abc123 for DoH. NextDNS's API, CLI and Mac app call it the profile ID.

How do I know if NextDNS is working?

Open test.nextdns.io on the device. "status": "ok" means NextDNS answered; "unconfigured" means the device uses another resolver, named in the resolver field. The Setup tab at my.nextdns.io checks your own configuration.

Is NextDNS better than AdGuard DNS?

For control, yes: your own blocklists, per-app parental controls and logs for unlimited devices on the free plan. AdGuard's public servers block ads with no account, and its free account allows 5 devices. In our test from India, NextDNS answered faster over DoH (34 ms against 63 ms).

Does NextDNS block YouTube ads?

No. NextDNS says YouTube uses techniques that make its ads impossible to block with DNS ad blocking. A browser ad blocker is the option for YouTube.

Does NextDNS slow down your internet?

Not when it uses a nearby server. Our lookups over DoH took a median of 34 ms from India, close to Cloudflare's 31–33 ms. Prefer the encrypted hostname: one of NextDNS's anycast IPs routed us to Amsterdam at 158–203 ms.

Should I use NextDNS or Pi-hole?

NextDNS needs no hardware and keeps working on mobile data and other networks. Pi-hole is free with no query limit and runs on hardware you control. NextDNS's help page puts a Raspberry Pi and SD card at about $35, which at today's $19.90 a year is under two years of Pro.

About the author

Shaik Vahid

Founder of DNS Robot. Vahid spent years in web hosting support fixing domains, DNS records, SSL certificates and email delivery for customers. He builds DNS Robot's tools and writes these guides from the errors people actually hit.

DNS Leak Test

See which DNS servers really resolve your lookups and whether your VPN leaks DNS requests to your internet provider