mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 14:33:00 +02:00
unbound: Configure Safe Search dynamically
The safe search code relied on working DNS resolution, but was executed before unbound was even started and no network was brought up. That resulted in no records being created and nothing being filtered. This will now set/reset safe search when the system connects to the Internet. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
1ec1e499d0
commit
d7190078ce
3
src/initscripts/networking/red.up/06-safe-search
Normal file
3
src/initscripts/networking/red.up/06-safe-search
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
exec /etc/init.d/unbound update-safe-search
|
||||
Reference in New Issue
Block a user