Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

youtube.com still in unrestricted mode after installation #15

Open
securitybryan opened this issue Nov 12, 2020 · 2 comments
Open

youtube.com still in unrestricted mode after installation #15

securitybryan opened this issue Nov 12, 2020 · 2 comments

Comments

@securitybryan
Copy link

I am running pi-hole 5.1.2 and followed the instructions on installing and running the SafeSearch shell script.

Everything completed without errors, however when I browse to youtube.com I am still in unrestricted mode.

Am I missing the obvious? Do I need to start pi-hole to pick up the new 05 config file?

@securitybryan
Copy link
Author

I set the YOUTUBE value to True as well.

@stillnet
Copy link

I had the same issue. I fixed it by adding these lines to the bottom of /etc/dnsmasq.d/05-restrict.conf:

cname=youtube.com,restrict.youtube.com cname=m.youtube.com,restrict.youtube.com cname=youtubei.googleapis.com,restrict.youtube.com cname=youtube.googleapis.com,restrict.youtube.com cname=www.youtube-nocookie.com,restrict.youtube.com

(sorry I don't know why github is mangling my code above, there should be a new line after each ...youtube.com)

Then restarted pihole DNS:

pihole restartdns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants