Skip to content

Commit

Permalink
hashicluster: Explicitly reconfigure unbound
Browse files Browse the repository at this point in the history
This allows changing forwarders to catch on.
  • Loading branch information
grembo committed Aug 17, 2022
1 parent a348b13 commit ca06663
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ rm -f /etc/unbound/conf.d/consul.conf

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ rm -f /etc/unbound/conf.d/vault-static.conf

service local_unbound enable
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ done

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ stub-zone:

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ done

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ stub-zone:

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ done

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
1 change: 1 addition & 0 deletions loki/loki.d/local/share/cook/bin/setup-local-unbound.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ stub-zone:

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ done

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ stub-zone:

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ stub-zone:

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ done

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ stub-zone:

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ done

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ stub-zone:

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ rm -f /etc/unbound/conf.d/consul.conf

service local_unbound enable || true
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart || true
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ rm -f /etc/unbound/conf.d/vault-static.conf

service local_unbound enable
sysrc local_unbound_forwarders="${DNSFORWARDERS:-none}" || true
service local_unbound setup || true
service local_unbound restart

0 comments on commit ca06663

Please sign in to comment.