summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_dnsmasq
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-06-30 08:06:17 -0400
committerScott Dodson <sdodson@redhat.com>2017-06-30 16:22:53 -0400
commitd9c30f08cebe462a62e9c5131b6e3cec6b01e80a (patch)
tree3545400753891e2965d7c2b0963d2806630bb08f /roles/openshift_node_dnsmasq
parentd195bb2dba76da80df33b777a13d2d719e74b735 (diff)
downloadopenshift-d9c30f08cebe462a62e9c5131b6e3cec6b01e80a.tar.gz
openshift-d9c30f08cebe462a62e9c5131b6e3cec6b01e80a.tar.bz2
openshift-d9c30f08cebe462a62e9c5131b6e3cec6b01e80a.tar.xz
openshift-d9c30f08cebe462a62e9c5131b6e3cec6b01e80a.zip
Use default ports for dnsmasq and node dns
Diffstat (limited to 'roles/openshift_node_dnsmasq')
-rw-r--r--roles/openshift_node_dnsmasq/defaults/main.yml1
-rw-r--r--roles/openshift_node_dnsmasq/templates/node-dnsmasq.conf.j24
-rw-r--r--roles/openshift_node_dnsmasq/templates/origin-dns.conf.j22
3 files changed, 4 insertions, 3 deletions
diff --git a/roles/openshift_node_dnsmasq/defaults/main.yml b/roles/openshift_node_dnsmasq/defaults/main.yml
index 06b2c4123..ed97d539c 100644
--- a/roles/openshift_node_dnsmasq/defaults/main.yml
+++ b/roles/openshift_node_dnsmasq/defaults/main.yml
@@ -1,2 +1 @@
---
-r_openshift_node_dnsmasq_port: 8054
diff --git a/roles/openshift_node_dnsmasq/templates/node-dnsmasq.conf.j2 b/roles/openshift_node_dnsmasq/templates/node-dnsmasq.conf.j2
index 4377403df..3caa3bd4a 100644
--- a/roles/openshift_node_dnsmasq/templates/node-dnsmasq.conf.j2
+++ b/roles/openshift_node_dnsmasq/templates/node-dnsmasq.conf.j2
@@ -1,2 +1,2 @@
-server=/in-addr.arpa/127.0.0.1#{{ r_openshift_node_dnsmasq_port }}
-server=/{{ openshift.common.dns_domain }}/127.0.0.1#{{ r_openshift_node_dnsmasq_port }}
+server=/in-addr.arpa/127.0.0.1
+server=/{{ openshift.common.dns_domain }}/127.0.0.1
diff --git a/roles/openshift_node_dnsmasq/templates/origin-dns.conf.j2 b/roles/openshift_node_dnsmasq/templates/origin-dns.conf.j2
index eac18cb4b..779b4d2f5 100644
--- a/roles/openshift_node_dnsmasq/templates/origin-dns.conf.j2
+++ b/roles/openshift_node_dnsmasq/templates/origin-dns.conf.j2
@@ -3,3 +3,5 @@ domain-needed
no-negcache
max-cache-ttl=1
enable-dbus
+bind-interfaces
+listen-address={{ ansible_default_ipv4.address }}