]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
unbound: Configure Safe Search dynamically
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Dec 2019 23:36:59 +0000 (23:36 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 29 Dec 2019 08:51:21 +0000 (08:51 +0000)
commitd7190078ceb7475b5de9f01fa6237af2fc66ca85
treee9971909e5a60b45d629bed91c245154f4a05610
parent1ec1e499d09e1e25344501ef6ffd76f8022d5ded
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>
config/rootfiles/common/aarch64/initscripts
config/rootfiles/common/armv5tel/initscripts
config/rootfiles/common/i586/initscripts
config/rootfiles/common/x86_64/initscripts
src/initscripts/networking/red.up/06-safe-search [new file with mode: 0644]
src/initscripts/system/unbound