Disable DNSStubListener for Flatcar Linux (#9160)

* Disable DNSStubListener for Flatcar Linux

* Fix missing "Flatcar" condition of os_family
pull/9191/head
Ho Kim 2022-08-18 16:56:49 +09:00 committed by GitHub
parent f4daf5856e
commit be5fdab3aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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 %}