aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/unbound
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-10-28 22:14:59 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-10-28 22:14:59 -0400
commit7eb111136453d0e8d8451d7dd85ba9892318f294 (patch)
treeb743ed4dba823a5e44b81670453cd5365697caa8 /files/usr/local/etc/unbound
parent6566745769b86f19d5d3b54f7de7f0c89a103b23 (diff)
downloadinfrastructure-7eb111136453d0e8d8451d7dd85ba9892318f294.tar.gz
acme/nginx/asterisk fixes
Diffstat (limited to 'files/usr/local/etc/unbound')
-rw-r--r--files/usr/local/etc/unbound/unbound.conf.idm_server2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/usr/local/etc/unbound/unbound.conf.idm_server b/files/usr/local/etc/unbound/unbound.conf.idm_server
index 762fe09..8af2c61 100644
--- a/files/usr/local/etc/unbound/unbound.conf.idm_server
+++ b/files/usr/local/etc/unbound/unbound.conf.idm_server
@@ -53,7 +53,7 @@ $([ -z "$unbound_local_zones" ] || printf ' local-zone: "%s" typetransparent\n'
private-domain: "${domain}"
$([ -z "$unbound_local_zones" ] || printf ' private-domain: "%s"\n' $unbound_local_zones)
-$([ -z "$unbound_local_data" ] || printf ' local-data: "%s"\n' $unbound_local_data)
+$([ -z "$unbound_local_data" ] || echo "$unbound_local_data" | while read -r data; do [ -n "$data" ] && printf ' local-data: "%s"\n' "$data"; done)
$(echo "$unbound_blocklists" | while read -r name _url; do
[ -n "$name" ] && printf "rpz:\n name: %s\n zonefile: ${unbound_blocklist_dir}/%s.zone\n" "$name" "$name"; done)