Browse Source

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

Fix reverse DNS lookups of service IPs.
pull/491/head
Smaine Kahlouch 8 years ago
committed by GitHub
parent
commit
71a230a4fa
1 changed files with 3 additions and 2 deletions
  1. 5
      roles/dnsmasq/templates/01-kube-dns.conf.j2

5
roles/dnsmasq/templates/01-kube-dns.conf.j2

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