Configure gdnsd to only listen on external addresses
authorTom Hughes <tom@compton.nu>
Thu, 21 Mar 2019 20:53:55 +0000 (20:53 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 21 Mar 2019 20:53:55 +0000 (20:53 +0000)
cookbooks/geodns/templates/default/config.erb

index dfd84c38b0ce7ae862de246b91803c3ff637acbe..2d1ed8ef01d2f1ae3af9b23214bfea352cc072f8 100644 (file)
@@ -1,3 +1,7 @@
+options => {
+  listen => [ <%= node.ipaddresses(:role => :external).join(", ") %> ]
+}
+
 plugins => {
   geoip => {
     maps => {