AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
24.63k stars 1.78k forks source link

Family Protection: Enforce SafeSearch #20

Closed andrews05 closed 8 years ago

andrews05 commented 8 years ago

For the family protection DNS, it would be really good to enforce Google SafeSearch. Google tells how to do this at the DNS level here: https://support.google.com/websearch/answer/186669?hl=en

[edit] Also YouTube restricted mode: https://support.google.com/a/answer/6214622

ameshkov commented 8 years ago

@andrews05 great idea, thank you!

ameshkov commented 8 years ago

@nkartyshov please do both things: Google SafeSearch and YT restricted mode.

andrews05 commented 8 years ago

Bing SafeSearch: http://help.bingads.microsoft.com/apex/index/18/en-US/10003

ameshkov commented 8 years ago

@andrews05 I wonder will it work for the Yahoo search as well?

andrews05 commented 8 years ago

From what I've been able to find, Yahoo doesn't currently have a similar feature.

ameshkov commented 8 years ago

@nkartyshov also here is an instruction for Yandex: https://yandex.ru/support/search/schoolsearch.xml#hosts

nkartyshov commented 8 years ago

done

andrews05 commented 8 years ago

I'm not seeing this in effect yet, is it supposed to be live now?

ameshkov commented 8 years ago

Oh, I see what's the issue

192-168-10-199:~ ameshkov$ nslookup www.google.com
Server:     176.103.130.132
Address:    176.103.130.132#53

Non-authoritative answer:
www.google.com  canonical name = forcesafesearch.google.com.
Name:   forcesafesearch.google.com
Address: 216.239.38.120

192-168-10-199:~ ameshkov$ nslookup www.google.ru
Server:     176.103.130.132
Address:    176.103.130.132#53

Non-authoritative answer:
Name:   www.GOOGLE.ru
Address: 216.58.209.195

@nkartyshov you have forgotten about ALL other google domains.

ameshkov commented 8 years ago

@nkartyshov the list of google domains: https://www.google.com/supported_domains

nkartyshov commented 8 years ago

@andrews05 I added the missing domains. Please, check.

andrews05 commented 8 years ago

Yup, all working now thanks!

andrews05 commented 5 years ago

DuckDuckGo Safe search: https://duck.co/help/features/safe-search

ameshkov commented 5 years ago

@andrews05 can't be enforced on DNS level, see #268

andrews05 commented 5 years ago

Ah, sorry should have searched first. Hope they can get that sorted sometime...