From bbb1da1a8318a048b54ed245f50cb390796cac59 Mon Sep 17 00:00:00 2001 From: RongZhang Date: Sat, 10 Feb 2018 10:08:26 -0600 Subject: [PATCH] Fix default_resolver is undefined fix issues #2265 --- roles/dnsmasq/templates/01-kube-dns.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/dnsmasq/templates/01-kube-dns.conf.j2 b/roles/dnsmasq/templates/01-kube-dns.conf.j2 index 483be2090..0134b4c33 100644 --- a/roles/dnsmasq/templates/01-kube-dns.conf.j2 +++ b/roles/dnsmasq/templates/01-kube-dns.conf.j2 @@ -22,7 +22,7 @@ server={{ srv }} {% endfor %} {% elif resolvconf_mode == 'host_resolvconf' %} {# The default resolver is only needed when the hosts resolv.conf was modified by us. If it was not modified, we can rely on dnsmasq to reuse the systems resolv.conf #} -server={{ default_resolver }} +server={{ cloud_resolver }} {% endif %} {% if kube_log_level == '4' %}