diff --git a/consul-tls/consul-tls.d/local/share/cook/bin/setup-local-unbound-static.sh b/consul-tls/consul-tls.d/local/share/cook/bin/setup-local-unbound-static.sh index fc76f789..5692fcbd 100755 --- a/consul-tls/consul-tls.d/local/share/cook/bin/setup-local-unbound-static.sh +++ b/consul-tls/consul-tls.d/local/share/cook/bin/setup-local-unbound-static.sh @@ -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 diff --git a/consul-tls/consul-tls.d/local/share/cook/bin/setup-local-unbound.sh b/consul-tls/consul-tls.d/local/share/cook/bin/setup-local-unbound.sh index b8714c7d..bf64b7ea 100755 --- a/consul-tls/consul-tls.d/local/share/cook/bin/setup-local-unbound.sh +++ b/consul-tls/consul-tls.d/local/share/cook/bin/setup-local-unbound.sh @@ -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 diff --git a/grafana/grafana.d/local/share/cook/bin/setup-local-unbound-provision.sh b/grafana/grafana.d/local/share/cook/bin/setup-local-unbound-provision.sh index dfe47a92..14e4f584 100755 --- a/grafana/grafana.d/local/share/cook/bin/setup-local-unbound-provision.sh +++ b/grafana/grafana.d/local/share/cook/bin/setup-local-unbound-provision.sh @@ -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 diff --git a/grafana/grafana.d/local/share/cook/bin/setup-local-unbound.sh b/grafana/grafana.d/local/share/cook/bin/setup-local-unbound.sh index f1fab084..989232c1 100755 --- a/grafana/grafana.d/local/share/cook/bin/setup-local-unbound.sh +++ b/grafana/grafana.d/local/share/cook/bin/setup-local-unbound.sh @@ -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 diff --git a/haproxy-consul/haproxy-consul.d/local/share/cook/bin/setup-local-unbound-provision.sh b/haproxy-consul/haproxy-consul.d/local/share/cook/bin/setup-local-unbound-provision.sh index dfe47a92..14e4f584 100755 --- a/haproxy-consul/haproxy-consul.d/local/share/cook/bin/setup-local-unbound-provision.sh +++ b/haproxy-consul/haproxy-consul.d/local/share/cook/bin/setup-local-unbound-provision.sh @@ -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 diff --git a/haproxy-consul/haproxy-consul.d/local/share/cook/bin/setup-local-unbound.sh b/haproxy-consul/haproxy-consul.d/local/share/cook/bin/setup-local-unbound.sh index f1fab084..989232c1 100755 --- a/haproxy-consul/haproxy-consul.d/local/share/cook/bin/setup-local-unbound.sh +++ b/haproxy-consul/haproxy-consul.d/local/share/cook/bin/setup-local-unbound.sh @@ -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 diff --git a/loki/loki.d/local/share/cook/bin/setup-local-unbound-provision.sh b/loki/loki.d/local/share/cook/bin/setup-local-unbound-provision.sh index dfe47a92..14e4f584 100755 --- a/loki/loki.d/local/share/cook/bin/setup-local-unbound-provision.sh +++ b/loki/loki.d/local/share/cook/bin/setup-local-unbound-provision.sh @@ -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 diff --git a/loki/loki.d/local/share/cook/bin/setup-local-unbound.sh b/loki/loki.d/local/share/cook/bin/setup-local-unbound.sh index f1fab084..989232c1 100755 --- a/loki/loki.d/local/share/cook/bin/setup-local-unbound.sh +++ b/loki/loki.d/local/share/cook/bin/setup-local-unbound.sh @@ -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 diff --git a/nginx-consul/nginx-consul.d/local/share/cook/bin/setup-local-unbound-provision.sh b/nginx-consul/nginx-consul.d/local/share/cook/bin/setup-local-unbound-provision.sh index dfe47a92..14e4f584 100755 --- a/nginx-consul/nginx-consul.d/local/share/cook/bin/setup-local-unbound-provision.sh +++ b/nginx-consul/nginx-consul.d/local/share/cook/bin/setup-local-unbound-provision.sh @@ -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 diff --git a/nginx-consul/nginx-consul.d/local/share/cook/bin/setup-local-unbound.sh b/nginx-consul/nginx-consul.d/local/share/cook/bin/setup-local-unbound.sh index f1fab084..989232c1 100755 --- a/nginx-consul/nginx-consul.d/local/share/cook/bin/setup-local-unbound.sh +++ b/nginx-consul/nginx-consul.d/local/share/cook/bin/setup-local-unbound.sh @@ -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 diff --git a/nomad-server-tls/nomad-server-tls.d/local/share/cook/bin/setup-local-unbound.sh b/nomad-server-tls/nomad-server-tls.d/local/share/cook/bin/setup-local-unbound.sh index f1fab084..989232c1 100755 --- a/nomad-server-tls/nomad-server-tls.d/local/share/cook/bin/setup-local-unbound.sh +++ b/nomad-server-tls/nomad-server-tls.d/local/share/cook/bin/setup-local-unbound.sh @@ -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 diff --git a/postgresql-patroni/postgresql-patroni.d/local/share/cook/bin/setup-local-unbound-provision.sh b/postgresql-patroni/postgresql-patroni.d/local/share/cook/bin/setup-local-unbound-provision.sh index dfe47a92..14e4f584 100755 --- a/postgresql-patroni/postgresql-patroni.d/local/share/cook/bin/setup-local-unbound-provision.sh +++ b/postgresql-patroni/postgresql-patroni.d/local/share/cook/bin/setup-local-unbound-provision.sh @@ -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 diff --git a/postgresql-patroni/postgresql-patroni.d/local/share/cook/bin/setup-local-unbound.sh b/postgresql-patroni/postgresql-patroni.d/local/share/cook/bin/setup-local-unbound.sh index f1fab084..989232c1 100755 --- a/postgresql-patroni/postgresql-patroni.d/local/share/cook/bin/setup-local-unbound.sh +++ b/postgresql-patroni/postgresql-patroni.d/local/share/cook/bin/setup-local-unbound.sh @@ -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 diff --git a/prometheus/prometheus.d/local/share/cook/bin/setup-local-unbound-provision.sh b/prometheus/prometheus.d/local/share/cook/bin/setup-local-unbound-provision.sh index dfe47a92..14e4f584 100755 --- a/prometheus/prometheus.d/local/share/cook/bin/setup-local-unbound-provision.sh +++ b/prometheus/prometheus.d/local/share/cook/bin/setup-local-unbound-provision.sh @@ -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 diff --git a/prometheus/prometheus.d/local/share/cook/bin/setup-local-unbound.sh b/prometheus/prometheus.d/local/share/cook/bin/setup-local-unbound.sh index f1fab084..989232c1 100755 --- a/prometheus/prometheus.d/local/share/cook/bin/setup-local-unbound.sh +++ b/prometheus/prometheus.d/local/share/cook/bin/setup-local-unbound.sh @@ -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 diff --git a/vault/vault.d/local/share/cook/bin/cluster-setup-local-unbound-static.sh b/vault/vault.d/local/share/cook/bin/cluster-setup-local-unbound-static.sh index fc76f789..5692fcbd 100755 --- a/vault/vault.d/local/share/cook/bin/cluster-setup-local-unbound-static.sh +++ b/vault/vault.d/local/share/cook/bin/cluster-setup-local-unbound-static.sh @@ -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 diff --git a/vault/vault.d/local/share/cook/bin/cluster-setup-local-unbound.sh b/vault/vault.d/local/share/cook/bin/cluster-setup-local-unbound.sh index b8714c7d..bf64b7ea 100755 --- a/vault/vault.d/local/share/cook/bin/cluster-setup-local-unbound.sh +++ b/vault/vault.d/local/share/cook/bin/cluster-setup-local-unbound.sh @@ -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