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.

26 lines
448 B

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=8.8.8.8
  15. server=8.8.4.4
  16. {% endif %}
  17. no-resolv
  18. no-negcache
  19. cache-size=1000
  20. max-cache-ttl=10
  21. max-ttl=20
  22. log-facility=-