Merge pull request #1319 from fieryvova/private-dns-server
Add private dns server for a specific zone
This commit is contained in:
commit
992023288f
3 changed files with 13 additions and 0 deletions
|
@ -132,3 +132,8 @@ efk_enabled: false
|
||||||
|
|
||||||
# Helm deployment
|
# Helm deployment
|
||||||
helm_enabled: false
|
helm_enabled: false
|
||||||
|
|
||||||
|
# dnsmasq
|
||||||
|
# dnsmasq_upstream_dns_servers:
|
||||||
|
# - /resolvethiszone.with/10.0.4.250
|
||||||
|
# - 8.8.8.8
|
||||||
|
|
|
@ -30,3 +30,6 @@ dns_memory_requests: 50Mi
|
||||||
# Autoscaler parameters
|
# Autoscaler parameters
|
||||||
dnsmasq_nodes_per_replica: 10
|
dnsmasq_nodes_per_replica: 10
|
||||||
dnsmasq_min_replicas: 1
|
dnsmasq_min_replicas: 1
|
||||||
|
|
||||||
|
# Custom name servers
|
||||||
|
dnsmasq_upstream_dns_servers: []
|
||||||
|
|
|
@ -11,6 +11,11 @@ server=/{{ dns_domain }}/{{ skydns_server }}
|
||||||
local=/{{ bogus_domains }}
|
local=/{{ bogus_domains }}
|
||||||
|
|
||||||
#Set upstream dns servers
|
#Set upstream dns servers
|
||||||
|
{% if dnsmasq_upstream_dns_servers|length > 0 %}
|
||||||
|
{% for srv in dnsmasq_upstream_dns_servers %}
|
||||||
|
server={{ srv }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% if system_and_upstream_dns_servers|length > 0 %}
|
{% if system_and_upstream_dns_servers|length > 0 %}
|
||||||
{% for srv in system_and_upstream_dns_servers %}
|
{% for srv in system_and_upstream_dns_servers %}
|
||||||
server={{ srv }}
|
server={{ srv }}
|
||||||
|
|
Loading…
Reference in a new issue