mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-05 03:18:00 +02:00
unbound: Safe Search: Enable Restrict-Moderate for YouTube
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -707,6 +707,10 @@ write_safe_search_conf() {
|
||||
# Yandex
|
||||
echo " local-zone: yandex.ru transparent"
|
||||
echo " local-data: \"yandex.ru A 213.180.193.56\""
|
||||
|
||||
# YouTube
|
||||
echo " local-zone: youtube.com transparent"
|
||||
echo " local-data: \"www.youtube.com CNAME restrictmoderate.youtube.com.\""
|
||||
) > /etc/unbound/safe-search.conf
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user