From f617fd912ba2ae3b3c1aad74506977c43bd128df Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 22 May 2019 15:29:32 +0100 Subject: [PATCH] unbound: Safe Search: Enable Restrict-Moderate for YouTube Signed-off-by: Michael Tremer --- src/initscripts/system/unbound | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound index 3e372ff65f..520525ea14 100644 --- a/src/initscripts/system/unbound +++ b/src/initscripts/system/unbound @@ -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 } -- 2.39.2