Browse Source

Disable DNSStubListener for Flatcar Linux (#9160)

* Disable DNSStubListener for Flatcar Linux

* Fix missing "Flatcar" condition of os_family
pull/9191/head
Ho Kim 2 years ago
committed by GitHub
parent
commit
be5fdab3aa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions
  1. 4
      roles/kubernetes/preinstall/templates/resolved.conf.j2

4
roles/kubernetes/preinstall/templates/resolved.conf.j2

@ -10,4 +10,8 @@ Domains={{ ([ 'default.svc.' + dns_domain, 'svc.' + dns_domain ] + searchdomains
#MulticastDNS=no
DNSSEC=no
Cache=no-negative
{% if ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk"] %}
DNSStubListener=no
{% else %}
#DNSStubListener=yes
{% endif %}
Loading…
Cancel
Save