Skip to content

Commit

Permalink
dns: call get_public_ip outside of heredoc
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Jul 7, 2024
1 parent 5ae5df5 commit 7bc4458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provision/dns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ install_unbound()

get_mt6_data()
{
get_public_ip

local _spf_ips

if [ -z "$PUBLIC_IP6" ]; then
Expand Down Expand Up @@ -69,6 +67,8 @@ EO_UNBOUND_ACCESS

install_local_conf()
{
get_public_ip

store_config "$ZFS_DATA_MNT/dns/mt6-local.conf" "overwrite" <<EO_UNBOUND
$UNBOUND_LOCAL
Expand Down

0 comments on commit 7bc4458

Please sign in to comment.