Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Create YouTube Option/Remove hard-coded variables #1
Firstly thanks jaykepters for your efforts in getting Safe Search working with Pi-hole.
I can confirm with samad that you need to append the cname code above to the /etc/dnsmasq.d/05-restrict.conf file for YouTube restriced mode to work.
Looking at jay’s script it appears the conditional code below is not evaluating to “True” so the YouTube domains are not being echoed to the 05-restrict.conf file. I haven’t tested it but removing the “if” statement will allow the for loop to execute and propagate the conf file. Not sure if that helps?
Also jay I saw you post requesting a list of search engines so we can block any non Safe Search engines. I think I may have something that might be of use?