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.

19 lines
340 B

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