Merge pull request #493 from ivan4th/fix-reverse-dns-lookups

Fix reverse DNS lookups of service IPs.
This commit is contained in:
Smaine Kahlouch 2016-09-19 14:20:15 +02:00 committed by GitHub
commit 0360ccadd4

View file

@ -4,8 +4,6 @@ listen-address=0.0.0.0
addn-hosts=/etc/hosts addn-hosts=/etc/hosts
bogus-priv
#Set upstream dns servers #Set upstream dns servers
{% if upstream_dns_servers is defined %} {% if upstream_dns_servers is defined %}
{% for srv in upstream_dns_servers %} {% for srv in upstream_dns_servers %}
@ -18,3 +16,6 @@ server={{ srv }}
# Forward k8s domain to kube-dns # Forward k8s domain to kube-dns
server=/{{ dns_domain }}/{{ skydns_server }} server=/{{ dns_domain }}/{{ skydns_server }}
# Forward reverse lookups for k8s service addresses to kube-dns
rev-server={{ kube_service_addresses }},{{ skydns_server }}