DNSMASQ / Host File / Google Safety Search / Youtube filter

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
stepram
DD-WRT Novice


Joined: 13 May 2019
Posts: 2

PostPosted: Thu Jan 02, 2020 22:16    Post subject: DNSMASQ / Host File / Google Safety Search / Youtube filter Reply with quote
I use DD-WRT at home and have some young kids. The time has come to restrict some youtube access.

I tried the cname route with the following in DNSMASQ
--cname=www.google.com,forcesafesearch.google.com
--cname=www.youtube.com,m.youtube.com,youtubei.googleapis.com,youtube.googleapis.com,www.youtube-nocookie.com,restrict.youtube.com

however as per thread here the cname Function dose not work. https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=704052

Therefore I was directed here https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1186924#1186924 and tried:

echo '' > /etc/hosts
echo '127.0.0.1 localhost' >> /etc/hosts
echo '216.239.38.120 www.google.com' >> /etc/hosts

However, this does not redirect the Google search to safe search only.

Google instructions here: https://support.google.com/websearch/answer/186669?hl=en

and here: https://support.google.com/a/answer/6214622?visit_id=637135970381628754-1488549170&rd=1

Any advice welcome.

Firmware: DD-WRT v3.0-r37305 std (10/10/1Cool on Netgear R7000
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum