Merge pull request #493 from ivan4th/fix-reverse-dns-lookups
Fix reverse DNS lookups of service IPs.
This commit is contained in:
commit
0360ccadd4
1 changed files with 3 additions and 2 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue