From fa11a6876cf6ff52440066a27fd5f045620d14a0 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Thu, 29 Sep 2016 10:48:32 +0400 Subject: [PATCH] Disable reverse lookups again Initially this was removed, but it turns out that services that perform reverse lookups (such as MariaDB) will encounter severe performance degredation with this disabled. --- roles/dnsmasq/templates/01-kube-dns.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/dnsmasq/templates/01-kube-dns.conf.j2 b/roles/dnsmasq/templates/01-kube-dns.conf.j2 index 7d5b77f1e..cad7f8ea3 100644 --- a/roles/dnsmasq/templates/01-kube-dns.conf.j2 +++ b/roles/dnsmasq/templates/01-kube-dns.conf.j2 @@ -18,6 +18,7 @@ server={{ srv }} server=8.8.4.4 {% endif %} +bogus-priv no-resolv no-negcache cache-size=1000