DNS & ISP

How to Block Ads on Roku, Fire TV and Smart TVs

You cannot install an ad blocker on a Roku, Fire TV or most smart TVs. You can still block a lot of their ads and tracking by filtering DNS for your whole network.

Last updated December 5, 2026.

The Short Answer

Set an ad-blocking DNS service on your router, so every device on your Wi-Fi uses it, including TVs that have no DNS setting of their own. It blocks ad and tracking domains before they load.

It will not remove every ad. Ads that are stitched into the video itself, such as YouTube ads and many ad-supported streaming tiers, come from the same servers as the show, so DNS cannot separate them.

What It Can and Cannot Block

  • Usually blocked: tracking and telemetry from the TV, banner and tile ads that load from separate ad servers, and ads inside many free apps.
  • Usually not blocked: ads inside the video stream, like YouTube and ad-supported plans on streaming services. See why DNS blockers miss YouTube ads.
  • Sometimes breaks: a few apps stop loading when their ad server is blocked. Most DNS services let you allow a single domain to fix it.

How to Set It Up

01
Check whether your router supports encrypted DNSLook in its settings for DNS over TLS, DNS over HTTPS or custom DNS with a hostname. Many routers from GL.iNet, ASUS and others running newer firmware have it. How to change the DNS on your router.
02
Enter your DNS service's encrypted addressUse the hostname your DNS provider gives you. Every device on that Wi-Fi, TVs included, is now covered.
03
If your router only accepts IP addressesRun a small DNS relay at home, such as AdGuard Home on a Raspberry Pi, that forwards to your encrypted DNS service, and point the router at it. Set up AdGuard Home on a Raspberry Pi.
04
Test it from a phone on the same Wi-FiYour TV has no browser, so open the free DNS Block Test on a phone connected to the same network.

Devices That Ignore Your Router

Some TVs and streaming sticks are reported to use hard-coded DNS servers, such as Google's, instead of the ones your router hands out. If ads still appear after setup, check whether your router can redirect all DNS traffic to your chosen service. Many advanced routers can; most basic ones cannot.

Turn Off Tracking in the TV Itself

DNS blocking works best alongside the TV's own privacy settings. Turn off viewing data collection (often called ACR or smart interactivity) and ad personalization in the TV's settings. How to stop your smart TV from spying on you.

Common Questions

Can you install an ad blocker on a Roku?
No. Roku does not allow ad blocker apps. Blocking has to happen on your network, by using an ad-blocking DNS service on your router.
Can I block ads on a Fire TV Stick?
Not with an app from the Amazon store. Using an ad-blocking DNS service on your router covers the Fire TV along with every other device on your Wi-Fi.
Will DNS blocking remove ads on YouTube or streaming services?
Usually not. Ads inside the video stream come from the same servers as the show, so DNS cannot block them without blocking the show too.
Do I need a Raspberry Pi to block ads on my TV?
Only if your router cannot use an encrypted DNS hostname. If it can, enter the address on the router and you are done. If it cannot, a small home relay such as AdGuard Home on a Raspberry Pi fills the gap.
How do I know it is working on my TV?
Run the free DNS Block Test on a phone connected to the same Wi-Fi. If the phone shows blocked ad and tracker domains, the TV is using the same DNS.
ABOUT HARBOR ADBLOCK

Harbor Adblock is an ad-blocking DNS service you can use on a router that supports DNS over TLS, or through a home relay, to cover your TVs. 30 days free, no credit card, then $3.99/mo. Start your free trial.

Harbor Privacy
Cut Big Tech out of your home network.

Encrypted DNS and network-level blocking of trackers and ads on every device, set up in minutes. No technical skills required.

See plans →