From: Michael Tremer Date: Wed, 22 May 2019 14:29:32 +0000 (+0100) Subject: unbound: Safe Search: Enable Restrict-Moderate for YouTube X-Git-Tag: v2.23-core133~78 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=f617fd912ba2ae3b3c1aad74506977c43bd128df unbound: Safe Search: Enable Restrict-Moderate for YouTube Signed-off-by: Michael Tremer --- 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 }