diff options
Diffstat (limited to 'roles/openshift_node_dnsmasq')
-rw-r--r-- | roles/openshift_node_dnsmasq/defaults/main.yml | 1 | ||||
-rw-r--r-- | roles/openshift_node_dnsmasq/templates/node-dnsmasq.conf.j2 | 4 | ||||
-rw-r--r-- | roles/openshift_node_dnsmasq/templates/origin-dns.conf.j2 | 2 |
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 }} |