Block YouTube with NextDNS: Router and Device Setup

Block YouTube on every device with NextDNS: one-tap Parental Control block, router and phone setup, the free 300k query limit, and stopping secure DNS bypasses.

Last updated: 28 October 2026ยท
Difficulty๐Ÿ”จ๐Ÿ”จ๐Ÿ”จ
Free
Bypass risk๐Ÿน๐Ÿน๐Ÿน๐Ÿน๐Ÿน

NextDNS can block YouTube on every device in your home in about ten minutes: sign up, block YouTube in the Parental Control tab, and point your router (and your kids' phones) at your NextDNS profile. The free plan works for many families, but watch the 300,000 query monthly limit, because filtering switches off when you hit it.

What Is NextDNS?

NextDNS is a cloud-based DNS filtering service with a personal dashboard. You get an account, configure exactly which domains to block, and point your devices or router to your private NextDNS DNS addresses. All queries go through NextDNS's servers, which apply your rules before returning results.

Why NextDNS over CleanBrowsing or OpenDNS FamilyShield? Neither of those free filters blocks YouTube outright (CleanBrowsing Family forces Restricted Mode, FamilyShield only blocks adult content). NextDNS gives you a one-tap YouTube block, custom domains, activity logs, separate profiles and apps for phones and computers.

| Feature | CleanBrowsing Family (free) | OpenDNS FamilyShield | NextDNS (free tier) | |---|---|---|---| | Full YouTube block | โœ— (Restricted Mode only) | โœ— | โœ“ | | Custom domain block | โœ— | โœ— | โœ“ | | Activity logs | โœ— | โœ— | โœ“ | | Separate profiles | โœ— | โœ— | โœ“ | | Mobile app | โœ— | โœ— | โœ“ |

Free tier: 300,000 DNS queries per month, with all features. Once you pass that, NextDNS keeps answering queries but behaves like a normal, non-blocking DNS, so YouTube loads again until next month. Pro is US$1.99 a month or US$19.90 a year and removes the cap (NextDNS pricing). Smart TVs and phones are chatty, so check your real usage in the Analytics tab after a week.

Step 1: Create Account and Profile

Create a NextDNS account

Go to nextdns.io and sign up with an email address. No credit card required for the free tier.

Note your Configuration ID and DNS addresses

NextDNS auto-creates a profile and assigns a 6-character Configuration ID (e.g. abc123). Under the Setup tab, you'll see your personalised DNS addresses: IPv4 addresses for routers, plus DNS-over-HTTPS and DNS-over-TLS addresses. These are unique to your account - keep them private.

Step 2: Block YouTube in the Profile

Add YouTube domains to the Denylist

In your profile, go to the Denylist tab and add the following domains one at a time:

  • youtube.com
  • youtu.be
  • music.youtube.com
  • googlevideo.com - YouTube's video delivery CDN (blocks video playback even if the site loads)
  • ytimg.com - thumbnail CDN
  • yt3.ggpht.com - avatar and channel art CDN

Turn on the YouTube block in Parental Control

Go to the Parental Control tab โ†’ Websites, Apps & Games โ†’ Add โ†’ choose YouTube. This uses a NextDNS-maintained list of YouTube domains, so it catches the app and the CDN without you hunting them down. This one step does most of the work. The Denylist entries above are a belt-and-braces backup.

Turn on Block Bypass Methods and SafeSearch

Still in Parental Control, enable Block Bypass Methods (blocks many VPN, proxy and public DNS-over-HTTPS services) and Enforce SafeSearch. Some parents report VPNs still getting through, so don't treat it as a guarantee (NextDNS help forum).

Or: keep YouTube, but in Restricted Mode

If an older child needs YouTube for homework, skip the block and turn on Enforce YouTube Restricted Mode instead. It filters mature videos and hides comments, but it doesn't stop the endless Shorts scroll. You can also use Recreation Time to allow YouTube only during set hours.

Step 3: Apply to Your Home Router

Log into your router admin panel

See the generic router guide for your router brand. Most routers are accessible at 192.168.0.1 or 192.168.1.1.

Find DNS settings

Look under WAN Settings, Internet Setup, or Advanced DHCP settings depending on your router model.

Enter your NextDNS IPv4 addresses

Enter the IPv4 addresses shown in your Setup tab as Primary and Secondary DNS. Plain IPv4 can't carry your profile ID, so NextDNS asks you to link your IP in the Setup tab (and keep it updated if your home IP changes). If your router supports DNS-over-TLS or has a built-in NextDNS option (Firewalla does, and some others), use that instead, as it doesn't depend on your home IP. Save and restart the router.

Verify NextDNS is active

On any device connected to your Wi-Fi, go to nextdns.io/test in a browser. The page will confirm whether NextDNS is active and which profile is being used.

Step 4: Apply Per-Device (Off-Network Coverage)

Router configuration covers devices at home. For devices that leave the house - phones, tablets, laptops - you need per-device configuration.

iPhone and iPad

Install NextDNS app

Download the NextDNS app from the App Store. Open it and enter your Configuration ID when prompted.

Enable the profile

Tap Use this configuration, then toggle the switch ON. NextDNS creates a local DNS-routing VPN profile - this is not a real VPN, it's a DNS configuration tunnel. The device routes DNS queries through NextDNS regardless of which network it's on.

Enable Start on demand

In the NextDNS app settings, enable Start on demand so the profile activates automatically when the device connects to any network.

โ„น๏ธ

Watch the free query limit

Every device using your profile counts toward the free plan's 300,000 queries a month, including phones on mobile data. When you hit the limit, NextDNS stops filtering until the month resets, so the block silently disappears. If the Analytics tab shows you getting close, Pro (US$19.90 a year) removes the cap.

Android

Two options. First option: go to Settings โ†’ Network & Internet โ†’ Private DNS (on some phones it's under Connections โ†’ More connection settings) โ†’ select Private DNS provider hostname โ†’ enter [your-id].dns.nextdns.io. This uses DNS-over-TLS and is always active on all networks. Second option: install the NextDNS app from the Play Store and follow the same steps as iPhone.

Windows

In Windows 11: Settings โ†’ Network & Internet โ†’ your connection (Ethernet or Wi-Fi) โ†’ DNS server assignment โ†’ Edit โ†’ Manual โ†’ enter your NextDNS IPv4 addresses โ†’ enable Preferred DNS encryption (DNS over HTTPS). Alternatively, download the NextDNS Windows client from nextdns.io/download for a simpler setup with a system tray toggle.

Mac

System Settings โ†’ Network โ†’ select your connection โ†’ Details โ†’ DNS โ†’ click + and add your two NextDNS IPv4 addresses. Remove any existing DNS entries. Alternatively, download the NextDNS Mac app from nextdns.io/download.

Step 5: Using the Activity Log

The Logs tab in your NextDNS dashboard shows a real-time feed of every DNS query from every device using your profile:

  • Domain requested
  • Device identifier (IP or device name)
  • Timestamp
  • Whether the query was allowed or blocked

Filter to Blocked queries to see every YouTube access attempt. This is useful both for confirming the block is working and for identifying bypass attempts - a sudden absence of blocked YouTube queries from a device that was previously generating them may indicate a DNS change on that device.

Name your devices for readable logs: in the Settings tab, go to Devices and assign human-readable names (e.g. "Emma's iPhone" instead of 192.168.1.105).

Creating Separate Profiles for Different Family Members

One NextDNS account supports multiple profiles - useful if you want stricter settings for younger children than for teenagers or adults.

Create a second profile

Click your profile name at the top of the dashboard โ†’ New Profile โ†’ give it a descriptive name like "Kids".

Configure the kids profile

Add stricter Denylist entries, enable more Parental Controls categories, and enable YouTube Restricted Mode or a full block.

Note the kids profile's Configuration ID

Each profile has its own unique Configuration ID and DNS addresses.

Point children's devices to the kids profile

Set up children's devices using the kids profile Configuration ID. Your own devices continue to use the main profile. Each profile's logs are separate.

๐Ÿน

How Kids Bypass This

DNS changes on device: Someone who finds their device's DNS settings can switch to Google DNS (8.8.8.8) and bypass NextDNS entirely. On iPhone: lock DNS/VPN management via Screen Time โ†’ Settings โ†’ Content & Privacy Restrictions โ†’ VPN & Device Management โ†’ Don't Allow. On Android: Family Link restricts DNS changes.

Mobile data: When a phone switches to 4G/5G, it uses the carrier's DNS unless NextDNS is configured directly on the device (not just the router). Install and activate the NextDNS app for mobile data coverage.

Browser DNS-over-HTTPS bypass: Chrome and Firefox have their own built-in DoH that can bypass your router's DNS settings. In Chrome: Settings โ†’ Privacy and security โ†’ Security โ†’ Use secure DNS โ†’ turn it off, or choose a custom provider and paste your NextDNS DNS-over-HTTPS address from the Setup tab. In Firefox: Settings โ†’ Privacy & Security โ†’ DNS over HTTPS โ†’ Off, or set a custom provider to your NextDNS address. Block Bypass Methods also blocks many public DoH servers.

VPN apps: Any VPN routes all traffic through its own servers and bypasses NextDNS. Block VPN app installation via Screen Time or Family Link on child devices.

๐Ÿ”จ

Counter-Measures

Multiple profiles give full visibility: The Logs tab captures every DNS query. If YouTube blocking suddenly stops appearing in blocked logs for a device that was previously triggering blocks, investigate the DNS configuration on that device.

Combine with device controls: NextDNS on the router handles all home traffic including smart TVs and consoles. NextDNS on the device handles mobile data. Screen Time or Family Link handles app-level controls and prevents DNS changes. All three together provide comprehensive coverage.

Lock DNS changes on child devices: Screen Time (iPhone) prevents VPN and device management changes. Family Link (Android) prevents most system setting changes. This is the most important countermeasure - without it, the filter is one DNS settings change away from being bypassed.

Check your query count: Look at the Analytics tab after a week and multiply out. If you're on track to pass 300,000 a month, upgrade, because a block that switches off mid-month is worse than useless.

Want a personalised plan?

Answer 5 questions and get a guide for every device your child uses.

Take the Quiz โ†’
Take the Quiz โ†’