unbound: Safe Search: Enable Restrict-Moderate for YouTube

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2019-05-22 15:29:32 +01:00
parent 6d653734fb
commit f617fd912b

View File

@@ -707,6 +707,10 @@ write_safe_search_conf() {
# Yandex
echo " local-zone: yandex.ru transparent"
echo " local-data: \"yandex.ru A 213.180.193.56\""
# YouTube
echo " local-zone: youtube.com transparent"
echo " local-data: \"www.youtube.com CNAME restrictmoderate.youtube.com.\""
) > /etc/unbound/safe-search.conf
}