brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [3/9] brooklyn-library git commit: listen on all interfaces
Date Wed, 31 Aug 2016 00:04:36 GMT
listen on all interfaces

needed if in a cloud where public ip is off-box


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-library/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-library/commit/911ba559
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-library/tree/911ba559
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-library/diff/911ba559

Branch: refs/heads/master
Commit: 911ba559866e9b2ff0925648a550b647cbdf903b
Parents: b14b946
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Wed Aug 24 15:36:41 2016 +0100
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Wed Aug 24 15:36:41 2016 +0100

----------------------------------------------------------------------
 .../org/apache/brooklyn/entity/network/bind/named.conf          | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-library/blob/911ba559/software/network/src/main/resources/org/apache/brooklyn/entity/network/bind/named.conf
----------------------------------------------------------------------
diff --git a/software/network/src/main/resources/org/apache/brooklyn/entity/network/bind/named.conf
b/software/network/src/main/resources/org/apache/brooklyn/entity/network/bind/named.conf
index 5dd10d7..99d1682 100644
--- a/software/network/src/main/resources/org/apache/brooklyn/entity/network/bind/named.conf
+++ b/software/network/src/main/resources/org/apache/brooklyn/entity/network/bind/named.conf
@@ -20,14 +20,15 @@
 // Generated by Brooklyn on ${.now?string.short}
 //
 options {
-    listen-on port ${entity.dnsPort} { 127.0.0.1; ${driver.address}; };
+    // listen-on default is all interfaces
+    // listen-on port ${entity.dnsPort} { 127.0.0.1; ${driver.address}; ${driver.subnetAddress};
};
     listen-on-v6 port ${entity.dnsPort} { ::1; };
     directory "${driver.osSupport.configDirectory}";
     dump-file "${driver.dataDirectory}/cache_dump.db";
     statistics-file "${driver.dataDirectory}/named_stats.txt";
     memstatistics-file "${driver.dataDirectory}/named_mem_stats.txt";
     allow-query { localhost; ${entity.managementCidr}; };
-    allow-transfer { localhost; ${driver.address}; };
+    allow-transfer { localhost; ${driver.address}; ${driver.subnetAddress}; };
     recursion yes;
     dnssec-enable yes;
     dnssec-validation yes;


Mime
View raw message