From 1c293839b79801e197a6749dfd587b5a68d5126a Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 30 Apr 2019 16:51:18 +0100 Subject: [PATCH] unbound: Add Yandex Safe Search 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 951fda7ab4..388b65c037 100644 --- a/src/initscripts/system/unbound +++ b/src/initscripts/system/unbound @@ -703,6 +703,10 @@ write_safe_search_conf() { echo " local-zone: ${domain} transparent" echo " local-data: \"${domain} CNAME forcesafesearch.google.com.\"" done + + # Yandex + echo " local-zone: yandex.ru transparent" + echo " local-data: \"yandex.ru A 213.180.193.56\"" ) > /etc/unbound/safe-search.conf } -- 2.39.5