commit c22987936ec0608871d96470d5e2396ff9a0110d
parent fdf69ddc31dc0998545463781243e7e8c1fd9f30
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Thu, 30 Mar 2023 18:41:40 +0200
feat: bind dns on public iface
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/consul.sh b/consul.sh
@@ -62,6 +62,10 @@ ports {
dns = 8600
}
+addresses {
+ dns = "{{GetInterfaceIP \"eth0\"}}"
+}
+
# The address that should be bound to for internal cluster communications.
# If there are multiple private IPv4 addresses available, Consul will exit with an error at startup:
# - https://www.consul.io/docs/troubleshoot/common-errors