You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
510 B

9 years ago
9 years ago
9 years ago
  1. #Listen on localhost
  2. bind-interfaces
  3. listen-address=0.0.0.0
  4. addn-hosts=/etc/hosts
  5. strict-order
  6. # Forward k8s domain to kube-dns
  7. server=/{{ dns_domain }}/{{ skydns_server }}
  8. #Set upstream dns servers
  9. {% if upstream_dns_servers is defined %}
  10. {% for srv in upstream_dns_servers %}
  11. server={{ srv }}
  12. {% endfor %}
  13. {% else %}
  14. server={{ default_resolver }}
  15. {% endif %}
  16. {% if kube_log_level == 4 %}
  17. log-queries
  18. {% endif %}
  19. bogus-priv
  20. no-resolv
  21. no-negcache
  22. cache-size=1000
  23. max-cache-ttl=10
  24. max-ttl=20
  25. log-facility=-