[RFC,2/8] unbound: Enable Bing SafeSearch

Message ID 20190430161645.24261-3-michael.tremer@ipfire.org
State Dropped
Headers
Series Provide an easy way to use Safe Search |

Commit Message

Michael Tremer May 1, 2019, 2:16 a.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 src/initscripts/system/unbound | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound
index 4ac8331dc..3b4da1dff 100644
--- a/src/initscripts/system/unbound
+++ b/src/initscripts/system/unbound
@@ -687,6 +687,9 @@  setup_safe_search() {
 
 	local domain
 
+	# Bing
+	unbound-control local_data "bind.com CNAME strict.bing.com."
+
 	# Google
 	for domain in ${GOOGLE_TLDS[@]}; do
 		unbound-control local_data "${domain} CNAME forcesafesearch.google.com."