unbound: Add Safe Search

This is a feature that will filter adult content from search
engine's results.

The old method of rewriting the HTTP request no longer works.

This method changes the DNS response for supported search engines
which violates our belief in DNSSEC and won't allow these search
engines to ever enable DNSSEC.

However, there is no better solution available to this and this
an optional feature, too.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Michael Tremer
2019-05-11 04:19:37 +01:00
parent 76630c4336
commit 661ab15389
2 changed files with 233 additions and 0 deletions

View File

@@ -81,6 +81,9 @@ server:
# Include any forward zones
include: "/etc/unbound/forward.conf"
# Include safe search settings
include: "/etc/unbound/safe-search.conf"
remote-control:
control-enable: yes
control-use-cert: no