Disable DNSStubListener for Flatcar Linux (#9160)

* Disable DNSStubListener for Flatcar Linux

* Fix missing "Flatcar" condition of os_family
This commit is contained in:
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

View file

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