diff options
author | Michael Gugino <gugino.michael@yahoo.com> | 2017-11-28 10:34:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 10:34:12 -0500 |
commit | b9ab765528ff2e7f9aa46b6942d74027ef9b6799 (patch) | |
tree | 446766a541618590b79ff263e5edc5de580ec25a /roles/openshift_node/templates | |
parent | c7645af60a5411af83b04fb6a5617887d3b39183 (diff) | |
parent | 73bf3e7137d80ba5b225108f39240c43d385a1ea (diff) | |
download | openshift-b9ab765528ff2e7f9aa46b6942d74027ef9b6799.tar.gz openshift-b9ab765528ff2e7f9aa46b6942d74027ef9b6799.tar.bz2 openshift-b9ab765528ff2e7f9aa46b6942d74027ef9b6799.tar.xz openshift-b9ab765528ff2e7f9aa46b6942d74027ef9b6799.zip |
Merge pull request #6268 from mgugino-upstream-stage/combine-dnsmasq-with-node
Combine openshift_node and openshift_node_dnsmasq
Diffstat (limited to 'roles/openshift_node/templates')
-rw-r--r-- | roles/openshift_node/templates/node-dnsmasq.conf.j2 | 2 | ||||
-rw-r--r-- | roles/openshift_node/templates/origin-dns.conf.j2 | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/roles/openshift_node/templates/node-dnsmasq.conf.j2 b/roles/openshift_node/templates/node-dnsmasq.conf.j2 new file mode 100644 index 000000000..3caa3bd4a --- /dev/null +++ b/roles/openshift_node/templates/node-dnsmasq.conf.j2 @@ -0,0 +1,2 @@ +server=/in-addr.arpa/127.0.0.1 +server=/{{ openshift.common.dns_domain }}/127.0.0.1 diff --git a/roles/openshift_node/templates/origin-dns.conf.j2 b/roles/openshift_node/templates/origin-dns.conf.j2 new file mode 100644 index 000000000..6543c7c3e --- /dev/null +++ b/roles/openshift_node/templates/origin-dns.conf.j2 @@ -0,0 +1,12 @@ +no-resolv +domain-needed +no-negcache +max-cache-ttl=1 +enable-dbus +dns-forward-max=5000 +cache-size=5000 +bind-dynamic +{% for interface in openshift_node_dnsmasq_except_interfaces %} +except-interface={{ interface }} +{% endfor %} +# End of config |