How to block YouTube in the home network (Phones, Tablets, Computers)
I am so tired by some types of the YouTube videos my kids are watching all day. I decided to restrict YouTube videos based on Keywords in my home network. I thought it should be really easy. What a big mistake. It turns out to be a serious challenge and me end up blocking YouTube altogether (kicking out my own access as well). In my journey to my goal, I learned a lot and decided to put it out to help others who may also be looking for the solution like me. This article is divided into several sections to help you understand the reasons for specific questions. Stay tuned and keep reading!
Fact: After a lot of struggle, I came to the conclusion that there is no way we can block YouTube videos using keywords. For example, if you want to block all YouTube videos that have Pippa-pig in the title, there is a no way to do that.
Therefore, we can either block YouTube or not. You cannot block it selectively. Of course, a specific video URL can be blocked but not based on keywords. I really wanted to block all the video that has Peppa-Pig in the title, but there is a no way.
Why can you not block YouTube straight from the router settings?
I have really powerful ASUS router with Firewall. However, simply using Router firewall will not block YouTube because, (1) YouTube uses HTTPS- router firewall cannot block HTTPS, and (2) IP address blocking is not working because YouTube uses a lot of different IP addresses.
Other methods that can work but not preferred
Computer-based Firewall software (often included in antivirus package) may block YouTube, but it will only protect the specific device and an advanced user may be able to manipulate. Router based method is preferred as it will protect all the connected devices and no one can manipulate it.
There may also be other methods that I have not explored or not familiar with, but it will not be as simple as the method I used and may need a tech-savvy brain to implement.
Devices that I have blocked YouTube access in the home network using this method
All devices that are connected to the home network (Phone, Tablet, Computers) will be blocked from accessing/playing YouTube videos (Blocked both, Web access and the YouTube App access). Blocking YouTube on Computer may be a little easy, but Phone and Table was a challenge as they use YouTube App instead of the website.
Cost and Time
$0 in fees (Because OpenDNS is free for home users)
Maybe 30-45 minutes of your time
Best of all, you do not need to install anything on any device
How to block YouTube in the home network?
Note: This is not an OpenDNS tutorial so if you feel that, I apologize for my writing style. However, I assure you that you would achieve your goal at the end. Also, I have no affiliation with OpenDNS. This is the best method that worked for me and I am sharing my experience here.
Step 1. Setting up OpenDNS in the router
- Go here (OpenDNS website) and Signup and create an account with OpenDNS (It is free for home use)
- Login to your WiFi router control panel. You can get your router specific setting instruction here (It is very helpful guide provided by OpenDNS community)
- Setup your Router to use OpenDNS as instructed
- Verify that you are using OpenDNS by clicking here
You can test your OpenDNS security settings by clicking here and Content blocking settings by clicking here
- At this point, I assume that you are already familiar with OpenDNS Dashboard settings and your router is already using OpenDNS. You already have your home network setup in the OpenDNS dashboard
Step 2. Block YouTube Website access (Mobile device App will be blocked next in the Step-3)
- Go to your dashboard settings, click on “Web Content Filtering” option and choose “Custom”
- On the same screen, there is another section called, “Manage Individual Domains”. In this section, you can add select domain (websites) to the list of “Always block” or “Never block”
- Select “Always block” and type in the following domain
- youtube.com
- Click “Add domain” to finalize the change
- Click “Apply” to make all the changes final
- At this point, you have successfully blocked YouTube Web access on all your devices. This works effectively on the computer because we are always using YouTube website on the computer. However, this will not work on the devices (Android and iOS) that use YouTube App to access YouTube. Kids in the home mostly use these devices so we have to block the YouTube App or uninstall the App. However, I do want YouTube App to work on my device when I am not connected to home network or when I am on the road
Step 3. Block YouTube App access (Android and iOS)
- Go back to the “Managed Individual Domains” section in the Web Content Filtering tab
- In the “Always block” list, add following domains, one-by-one
- youtube.com
- ytimg.com
- ytimg.l.google.com
- s.ytimg.com
- youtube.l.google.com
- googlevideo.com
- i.google.com
- Click “Apply” to make all the changes final. Allow ~3 minutes to implement this changes in your OpenDNS.
This will block all the seven domain on the network. Since YouTube App uses different domains, all this domains needs to be blocked. The list may change in the future if YouTube starts using different/ additional domains as well (If they get scared with this tutorial :-) ).
In case (in the future), after following this tutorial, you are still unable to block YouTube, you would need to add that new/ missing YouTube domain on the list here (You may need to search it on your own using either Google or by some complicated technical ways).
Please note that on mobile devices, YouTube App will appear to work normally and it will play those YouTube Ads, but it will not load/play the Video anymore as we have blocked YouTube’s hidden domains!
In your mobile devices, make sure to clean YouTube App data and catch data. Otherwise, some of the videos that your kid is playing over and over may still appear to play in your phone because it has been stored in catch memory of the App.
Feel free to comment. I appreciate if you share any tricks/ have any updates/ would like to add to the information in this article to improve it further and help others.
Good luck.

Thank you. I was looking to find simple way to block youtube in my network. I had lot of trouble blocking it on phones. This solved all issues. Easy and practical solution. Thank you again.
I am glad to hear that you found a way to block the youtube.
Thanks for the nice work
Thanks you! This is exactly what I needed.
Hi Marin,
I am glad that you found it useful.
Best,
Unwrittens
Thanks for putting this out there. I was blocking some but not all. Also worth mentioning if you use the norton family app on mobile devices you can set up web filtering rules so even if your child is away from home they still will not have access to these sites. This was when it was most critical for us since our kids were able to access these sites once they left home.
Hello Gerald, Thank you for the coment. I am not familier with the Norton Family App but will check it out and see how it serves my need and if adds something.
Best,
Unwrittens
I wanted to thank you for the thorough youtube blocking solution documented here. I have been struggling with this for weeks across multiple routers and firmware loads, including dd-wrt and tomato. Apparently blocking https calls, particularly for youtube and their multiple domains, is causing a lot of parents grief.
OpenDNS is indeed the best solution, but until today I have found it very good at blocking content for an entire home network but poor for allowing individual bypass access without having to downloand Netgear Genie on each bypass device. This is not a graceful solution if most of the devices in the house need to bypass the OpenDNS filters (i.e., devices for my wife and I).
However, in the Netgear Genie app where you configure the Parental Controls setup, if you go into Network Map and click on a device, from there you can click modify and select the "Parental Controls Filtering" level on a per device basis! Simple changing that value to "none" grants a permanent filter exception for that device while leaving the default filter level on the router intact for all other devices. This also eliminates the need for Genie+Bypass account for that device.
The combination of the OpenDNS Parental Controls, the Netgear router with the Genie app, your youtube domain blocklist, and the Network Map bypass per device has finally solved my problems and given me the right level of baseline filter securtiy with the important per-device bypass.
Thanks again for your article!
Thanks you Von for the information. Your information will be very helpfull to the readers of the post.
Youtube makes it very hard to really block things. It takes lot of effort to figure out the best Youtube blocking solution for your needs. For me, the blanket solution works well. However, as you have noticed, the method discribed here does not have lot of control. For the need like yours, require some combination and tricks. I am glad that you found the right solution for your needs. Thank you again for sharing it for other readers.
Unwrittens
I do not even know how I ended up here, but I thought this post was good.
I don’t know who you are but certainly you’re going to a
famous blogger if you aren’t already ;) Cheers!
Thanks, this works until your child figures out how to change the dns on their device to anything other than what the router is giving them.
How about blocking DNS (port 53) on your firewall to everything but open DNS?
Furthermore, to allow youtube from a parent device, you could allow DNS traffic to an alternate DNS server from just that device.
Thoughts?
Thanks for the wonderfuk tip. Really appreciate it. Will the youtube domains be updated in the future? Thanks
Thank you for the commet.
I will sure try to keep it updated.
commet is good and also meteorite
However this dies not block https://www.youtube.com. Your child can stilll access https
I am not sure why you have this issue. In my network https youtube is blocked too.
I love what you guys are usually up too. This sort of clever work and coverage!
Keep up the wonderful works guys I’ve incorporated you guys to my personal blogroll.
Hi,
Thanks for sharing. The only problem im facing is that it always block!
Have any one try "Von L" suggestion?
how to bypass using Netgear Genie? as you those site are in "Always Block" list, so regarless of any filter that you have select,even "None" it's just wont bypass at all.
Any suggestion?
Thanks
Hi Sunny,
I agree with you that the method used here is blanket ban on Youtube in your network and it will successfully block it on all connected devices.
I have not tried Von L suggestion. I hope someone has.
what is happening to my comments post on the other days?
some one can't answer it ? and just removed it?
Hi Sunny, I apologize for delay. It’s because sometimes I am checking comments (to make sure and remove spam) few days apart that causes delay in appearing comments. I wish I don’t need to do that and allow all comments but then it spam comments will take over real ones. So I am forced to make sure of spams. Rest assured, real comments will be there although delayed sometime.
Thank you for reading my website and blog. I really appreciate your active participation.
I got this web site from my buddy who informed me concerning this site and at the moment this time I am browsing this website and reading very informative articles at this time.
Hi, I have yet to try this out and found this blog while searching to achieve a similar objective. I also found a youtube help website: https://support.google.com/youtube/answer/6214622?hl=en I have yet to try the suggested help page by youtube. If anyone has tried it out, appreciate you could also update if it works. Thanks and cheers!
Hi, Google help page does have some useull information.
I have a Asus 68u router and I am trying to block Facebook, Youtube, Twitter, etc… from my teenagers. I don't want them to access these sites on the apps or sites. I have there devices added to parental controls and I have URL and Keyword filters enabled and I use time scheduling. So far the Asus router is the best router on the market with a lot of features. I have used OpenDNS before and it works great. It is a cat and mouse game with teenagers. I have to stay one step ahead of them with which sites and apps they are on.
I like using OpenDNS but the bad side of it is that you have to login to the site each time you want to make a change or unblock a category. It would nice if OpenDNS had an app themselves. I don't think they do but I would use OpenDNS a lot more if there was an easier way to make changes. In the future, I am hoping to block HTTPs on the router and block Apps.
To temporarily bypass the OpenDNS when I need an access to the blocked sites, I go to the router and touggle the botton that says use automatic DNS to "Yes". This will instantly by-pass the OpenDNS and also avoids the wait time. When I am again ready to get back to blocking, I just toggel it to "No" so the OpenDNS IP setting will be used. I don't even remve the I.P. address from the field in the router and it stays there.
I agree, ASUS router has adnaced capabilities and I love it.
GUYS TELL ME , HOW TO BLOCK YOUTUBE FROM 'NETIS' ROUTER……….TO ALL COMPUTER
Hi Umesh, I personally have not used that router so I may be wrong. However, I think it should no t be different. Just follow the steps in this post. Then in your router there will be some settings that let you use OpenDNS address. You would need to enter OpenDNS ip addresses in those field and choose manual DNS instead of using automatic DNS in your router.
You may not need to add all those domain. Just one domain (youtube.com) will be enough for blocking on all Computers that are connected to your network.
Thank you so much. This is very helpful as i follow all steps and its working perfectly. Great job!
I am glad you find it useful.
I am regular reader, how are you currently everybody? This post posted at the
site is truly good.
thank you very much, i has been use a lot time(yearly) seach a lot of this kind matter to block youtube. finally i done it. thanks again.
I want to to thank you for this great read!! I certainly enjoyed every
little bit of it. I have got you bookmarked to look at new stuff
you post…
Everything is very open with a precise clarification of the issues.
It was definitely informative. Your site is extremely helpful.
Thank you for sharing!
Write more, thats all I have to say. Literally, it appears to be just like you trusted
the recording to produce your point. You clearly know what
youre discussing, why throw away your intelligence on just posting videos for your blog when you may be giving us something informative to see?
I always emailed this webpage post page to all my contacts, because if like to read it
then my friends will too.
Thank you George
Can you mind if I quote a few of the posts as long as I
provide credit and sources to your weblog? My blog page is incorporated in the exact same section of interest as yours and my users would certainly benefit from several of
the information you provide here. Please inform me if the okay with you.
Cheers!
Hi Ashley,
You can certainly share the blog with appropreate credit and references and including the link to the refering article.
Thank you for your kind comments,
Unwrittens
Simply wish to say your article is as astounding.
The clarity to your submit is simply spectacular and i could assume you’re a professional on this subject.
Well with your permission allow me to seize your feed to stay up to date with coming near near
post. Thanks 1,000,000 and please carry on the enjoyable work.
I will mention the elephant in the room, which is Youtube, which in my opinion acts two-faced, knowing that kids are watching it (and being ok with it) but paying lip service to its rules against children watching. Nice way to cop out. Youtube should (and can, without much effort) create filters for users that would block out specific categories. Imagine the things you could block: videos with bad words, violence, bad behavior, etc. Anything I may not want to watch. How do you think the recommendation engine works? This would be like a reverse recommendation engine and if Youtube cared about its place in society would take some more responsibility.
Very soon this website will likely be famous amid all blogging
visitors, on account of it’s good posts
Thanks alot! i can now work without my internet slowing down due to 3 people streaming youtube!
Thanks, Charlie
Hi Charlie, I am glad that it helped you.
Cheers! Finally I got rid of it.
Thanks for the detailed instructions. I have a Archer C7 router. I used the list of domain names you provided to block all access from my home to Youtube, either via the web browser or via the youtube app. Simply denying the youtube domain works for browser access, but denying the other domains were critical for access through the app. Also, I blocked at my router, not via openDNS, but the concept is the same. Thanks for the article.
Did anyone try to modify on home router the file '/etc/hosts'?
I think that putting there the list of domains, and matching them with fake IPs, should also work (or rather make youtube to stop working :D).
Of course, the home router needs the ability to modify the '/etc/hosts' (or equivalent) file.
It works! A bit difference from your description is that I can't find “Web Content Filtering” option on control panel. It's Parental Controls of Netgear router done through openDNS.
In openDNS, click the top option of "Account Settings", add following into the Blacklist:
youtube.com
ytimg.com
ytimg.l.google.com
s.ytimg.com
youtube.l.google.com
googlevideo.com
i.google.com
Hi,
Thanks for this very important articale, i have one extra question.
Can we have this timed? as allowed in the weekends and restricted in the weekdays?
Hi,
Scheduling is not possible for now unless OpenDNS makes it possible in the future.
What works best for me is that I go to Router’s admin panel and simply toggle the button that selects “Automatic DNS” over “Manual DNS”. It takes literally <1min. You can deactivate OpenDNS from their site but it takes longer time (nearly 15min wait time). So, router method works best, as well no chance of messing up anything. When I am again ready to activate Youtube blocking, I simply go back to Router's admin panel and select "Manual DNS". Bonus point: Even if you switch between these settings in router, your DNS address will stay put there so you don't need to reenter again.
Hope this helps.
Thank you for visiting my blog.
Unwrittens
Generally I do not learn article on blogs, but I wish to say that this write-up very compelled me to
take a look at and do it! Your writing taste has been amazed me.
Thank you, quite nice post.
Thank you for your kind words and visiting my post.
Thanks for this!
I am using this with my Netgear Nighthawk router and and setting it within the router rather than OpenDNS at this point.
I have found that it blocks the browser, but not the Youtube app? Supposedly the apps use specific ports (i didnt this is the case) but am keen to get other thoughts.
Thanks in advance.
I am not sure why it wouldn’t work in blocking app if you have all domains covered in router. Did you try cleaning youtube app data from the phone’s memory?
Only thing I can think of is that it’s possible that some domains may be using multiple IPs that router is not able to block but OpenDNS have ability to block all IPs for that domain.
Thanks
This has been working for me for several months. Suddenly since yesterday, YouTube is again working on all devices. Anyone know of something changed? Additional domains needs to be added?
It should work fine. Please try Disabling and Enabling OpenDNS. You can try re-doing steps to configure OpenDNS or check if OpenDNS is still working/ enabled correctly.
Awesome! Big thanks! Just want to add that you need to download the software from open DNS that tracks the change of ip address change of your home network. I do not understand why people dump so much trash vedios on youtube — the minecraft vedio certainly makes to the top.
hi,
we have at&t uverse, and I read that you can not block utube. is there any way I can block u-tube on my interent and all modile devices. My daughter stays up all night to watch utube
Hi Angie, although I am not fully familier with AT&T uverse, I suggest you to follow the steps discribed in my article. Using OpenDNS method discribed herein, I think you should be able to accomplish it. If it doesn’t work, please post comment with more details and I will see what can be done.
Thanks,
I have an extremely complex home network but the entire thing is frontended with an ARRIS TG852 router which has parental controls that allows me to block specific domains and keywords while excluding two MAC (Media Access Control – base machine address IP address is mapped to) addresses which are not blocked. I use those for my laptop and my wife's cell phone. That said, there is *nothing* you (or I) can do to block access to "anything" if your kid finds out what a VPN (Virtual Private Network) is and how to install it on their phone, tablet, computer, etc. Using a VPN "tunnel" they can establish a "hidden" and encrypted connection to a VPN server on the net which will effectively bypass any controls you place on the network. Even OpenDNS won't stop them from connecting a VPN if they know what they're doing. Fortunately I'm a network expert but my kids are not. :-)
I tired and blocked accessing youtube. But it is easliy accessible with VPN
Block VPN server so that connection is not possible
I have noticed you don’t monetize unwrittens.com, don’t waste your traffic, you can earn additional bucks every month
with new monetization method. This is the best adsense alternative for any type of
website (they approve all websites), for more details simply
search in gooogle: murgrabia’s tools
Thanks , I’ve just been searching for info about this topic for
a while and yours is the greatest I’ve came upon till now.
However, what in regards to the conclusion? Are you positive in regards to
the supply?
Thanks for this solution.
I also have asus router. I added url keyword filter with follow keywords and it blocks http, https and app access for youtube
youtube
ytimg
googlevideo
Thanks again.
But you still missing i.google.com from the main article.
Bán đàn hương ấn độ. Cây có giấy tờ để phát triển
Liên hệ: 0914.599.143 hoặc 0344.336.283
Cơ sở bán đàn hương trắng trực thuộc HTX Nông nghiệp dịch vụ Nam Tây Nguyên
Nguồn: Vườn ươm Văn Hiến
Do you want more visits to your unwrittens.com ?
I succeeded and it works with this Fiverr gig https://zeep.ly/RgLhL
Cơ sở cung cấp giống đàn hương
Điện thoại: 0914.599.143
Website: viencaytrong.com
Hello
YOU NEED QUALITY VISITORS FOR YOUR: unwrittens.com ?
We Provide Website Traffic 100% safe for your site, from Search Engines or Social Media Sites from any country you want.
With this traffic, you can boost ranking in SERP, SEO, profit from CPM
CLAIM YOUR 24 HOURS FREE TEST HERE=> seosubmitter@mail.com
Thanks, Bettie Leventhal
What’s up, this weekend is pleasant designed for me, for the reason that
this point in time i am reading this great informative article here at my residence.
You Want to Know What Is Link Building and How Does It Work ?
You Want to Know How to Get Powerful Backlinks ?
Check this out http://paxtonlrwa85295.bloggerbags.com/7836760/what-is-link-building-and-how-does-it-work
Wow, this paragraph is good, my sister is analyzing these things, thus I
am going to tell her.
GET PROFESSIONALLY VIDEOS AT AFFORDABLE PRICES
We offer professionally produced videos at affordable prices.
Our videos have the look and feel of a high quality television commercial, complete with professional spokesperson, background, text,
images, logos, music and of course, most importantly, your company’s contact information for your unwrittens.com.
If you’re ready to reach more clients today, let us get to work on producing your company’s exclusive video.
MORE INFO=> http://qejn39630.bloggerbags.com/8235138/get-videos-at-affordable-prices
Woah! I’m really enjoying the template/theme of this site.
It’s simple, yet effective. A lot of times it’s difficult to get that “perfect balance” between user friendliness and appearance.
I must say you have done a amazing job with this.
Also, the blog loads very quick for me on Opera.
Exceptional Blog!
Take a look at my web site – jasa unblock domain
Bán đạm cá tại Buôn Ma Thuột
0914.599.143
Bán đàn hương trắng. Cây đã được kiểm duyệt của nhà
nước
Liên hệ: 0914.599.143 hoặc 0344.336.283
Cơ sở bán đàn hương trắng trực thuộc HTX Nông
nghiệp dịch vụ Nam Tây Nguyên
Nguồn: Vườn ươm Văn Hiến
Cung câp phân đạm cá
Hi there, I check your new stuff like every week. Your humoristic style is witty, keep up the good work!
appreciated your help but some hacking and router security and speed related issues accurse while using OpenDNS.. so I think if user can compromise their security then it is outstanding solutions..
mean while parents can use some app to stop YouTube or related apps on any mobile device now a days..