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.

20 lines
365 B

9 years ago
  1. #Listen on localhost
  2. bind-interfaces
  3. listen-address=0.0.0.0
  4. addn-hosts=/etc/hosts
  5. bogus-priv
  6. #Set upstream dns servers
  7. {% if upstream_dns_servers is defined %}
  8. {% for srv in upstream_dns_servers %}
  9. server={{ srv }}
  10. {% endfor %}
  11. {% else %}
  12. server=8.8.8.8
  13. server=8.8.4.4
  14. {% endif %}
  15. # Forward k8s domain to kube-dns
  16. server=/{{ dns_domain }}/{{ skydns_server }}