summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_dnsmasq/templates/origin-dns.conf.j2
Commit message (Collapse)AuthorAgeFilesLines
* Combine openshift_node and openshift_node_dnsmasqMichael Gugino2017-11-271-12/+0
| | | | | This commit combines these two roles. This will prevent openshift_node_facts from running twice.
* Switch from bind-interfaces to bind-dynamicScott Dodson2017-10-311-1/+1
|
* dnsmasq cache-size dns-forward-max changePhil Cameron2017-10-301-0/+2
| | | | | | | | On very large clusters dnsmasq performance suffers due to limited cache-size and dns-forward-max values. bug: 1482847 https://bugzilla.redhat.com/show_bug.cgi?id=1482847
* Change dnsmasq to bind-interfaces + except-interfacesMichael Gugino2017-10-251-1/+4
| | | | | | | | Currently, we have to set the listen ip for dnsmasq via ansible during installation. This commit enables dnsmasq to bind-interfaces + exclude interfaces to ensure dnsmasq doesn't listen on lo interface.
* Use openshift.node.dns_ip as listening addressScott Dodson2017-08-141-1/+1
|
* Use default ports for dnsmasq and node dnsScott Dodson2017-06-301-0/+2
|
* Run dns on the node and use that for dnsmasqScott Dodson2017-06-301-1/+1
|
* Disable negative caching, set cache TTL to 1sSteve Kuznetsov2017-06-131-0/+2
| | | | | | | | | | | | When running headless services as pods on OpenShift, no ClusterIP is assigned. In these cases, peer pods are relying on DNS to locate the service endpoints. When a pod is deleted or another trigger causes the endpoint to change, the OpenShift DNS is updated immediately. However, dnsmasq has a default TTL of 30s, so the wrong response is returned on name resolution. Removing negative caching and turning the TTL to a very short 1s should resolve the issue. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
* openshift_node_dnsmasq - Remove strict-order option from dnsmasqScott Dodson2016-12-011-1/+0
| | | | | | | | | | | strict-order forces dnsmasq to iterate through nameservers in order. If one of the nameservers is down this will slow things down while dnsmasq waits for a timeout. Also, this option prevents dnsmasq from querying other nameservers if the first one returns a negative result. While I think it's odd to have a nameserver that returns negative results for a query that another returns positive results for this does seem to fix the issue in testing. Fixes Bug 1399577
* Add openshift_node_dnsmasqScott Dodson2016-04-191-0/+4