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

Allow to specify number of concurrent DNS queries
This commit is contained in:
Matthew Mosesohn 2017-01-19 18:08:04 +03:00 committed by GitHub
commit 40f419ca54
2 changed files with 5 additions and 1 deletions

View file

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

View file

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