Browse Source

Merge pull request #922 from holser/dnsmasq_dns-forward-max

Allow to specify number of concurrent DNS queries
pull/919/merge
Matthew Mosesohn 8 years ago
committed by GitHub
parent
commit
40f419ca54
2 changed files with 5 additions and 1 deletions
  1. 3
      roles/dnsmasq/defaults/main.yml
  2. 3
      roles/dnsmasq/templates/01-kube-dns.conf.j2

3
roles/dnsmasq/defaults/main.yml

@ -11,6 +11,9 @@
#nameservers:
# - 127.0.0.1
dns_forward_max: 150
cache_size: 1000
# Versions
dnsmasq_version: 2.72

3
roles/dnsmasq/templates/01-kube-dns.conf.j2

@ -27,7 +27,8 @@ log-queries
{% endif %}
bogus-priv
no-negcache
cache-size=1000
cache-size={{ cache_size }}
dns-forward-max={{ dns_forward_max }}
max-cache-ttl=10
max-ttl=20
log-facility=-
Loading…
Cancel
Save