Add raw host
This commit is contained in:
parent
33c4e6de98
commit
6f4943c549
|
@ -5,9 +5,15 @@ server:
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% for entry in unbound.internal.local.SRV %}
|
{% for entry in unbound.internal.local.SRV %}
|
||||||
|
|
||||||
|
{% if entry.rawhost|default(false) %}
|
||||||
|
local-data: "_{{ entry.service }}._tcp.redxen.localhost. 60 IN SRV 0 5 {{ entry.port }} {{ entry.rawhost }}."
|
||||||
|
{% else %}
|
||||||
{% for host in groups[entry.group] %}
|
{% for host in groups[entry.group] %}
|
||||||
local-data: "_{{ entry.service }}._tcp.redxen.localhost. 60 IN SRV 0 5 {{ entry.port }} {{ host }}.redxen.localhost."
|
local-data: "_{{ entry.service }}._tcp.redxen.localhost. 60 IN SRV 0 5 {{ entry.port }} {{ host }}.redxen.localhost."
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% for entry in unbound.internal.local.A %}
|
{% for entry in unbound.internal.local.A %}
|
||||||
|
|
Reference in New Issue