aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostclass/authoritative_nameserver
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 /scripts/hostclass/authoritative_nameserver
parent6566745769b86f19d5d3b54f7de7f0c89a103b23 (diff)
downloadinfrastructure-7eb111136453d0e8d8451d7dd85ba9892318f294.tar.gz
acme/nginx/asterisk fixes
Diffstat (limited to 'scripts/hostclass/authoritative_nameserver')
-rw-r--r--scripts/hostclass/authoritative_nameserver4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/hostclass/authoritative_nameserver b/scripts/hostclass/authoritative_nameserver
index 69a7dde..0b7e73f 100644
--- a/scripts/hostclass/authoritative_nameserver
+++ b/scripts/hostclass/authoritative_nameserver
@@ -18,8 +18,8 @@ install_template -m 0644 /usr/local/etc/nsd/nsd.conf
# Copy zone files.
for zone in $nsd_zones; do
- eval "zone_name=\${nsd_${zone}_zone}"
- install_file -m 0644 "${nsd_conf_dir}/${zone_name}.zone"
+ eval "_domain=\${nsd_${zone}_domain}"
+ install_file -m 0644 "${nsd_conf_dir}/${_domain}.zone"
done
# Enable and start nsd.