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 dfd84c3..2d1ed8e 100644 (file)
@@ -1,3 +1,7 @@
+options => {
+  listen => [ <%= node.ipaddresses(:role => :external).join(", ") %> ]
+}
+
 plugins => {
   geoip => {
     maps => {