Browse Source

Add --dns-loop-detect to dnsmasq used in kube-dns

It prevents DNS loops when host's DNS server is a localhost DNS server,
or when DNS server of cluster is also added as an upstream DNS server
pull/3094/head
Hedayat Vatankhah 6 years ago
parent
commit
c0221c2e72
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml.j2

1
roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml.j2

@ -127,6 +127,7 @@ spec:
- --
- -k
- --cache-size=1000
- --dns-loop-detect
- --log-facility=-
- --server=/{{ dns_domain }}/127.0.0.1#10053
- --server=/in-addr.arpa/127.0.0.1#10053

Loading…
Cancel
Save