Skip to content

Commit

Permalink
Disable DNSStubListener for Flatcar Linux (#9160)
Browse files Browse the repository at this point in the history
* Disable DNSStubListener for Flatcar Linux

* Fix missing "Flatcar" condition of os_family
  • Loading branch information
HoKim98 authored Aug 18, 2022
1 parent f4daf58 commit be5fdab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/kubernetes/preinstall/templates/resolved.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

0 comments on commit be5fdab

Please sign in to comment.