Skip to content

Commit

Permalink
Disable DNSStubListener for Flatcar Linux (kubernetes-sigs#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 and LuckySB committed Jul 7, 2023
1 parent ae85bd8 commit 4e78d9a
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 4e78d9a

Please sign in to comment.