mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
whitespace (^M)
This commit is contained in:
parent
dd5f357f17
commit
70d113db59
@ -1,33 +1,33 @@
|
||||
<form>
|
||||
<field>
|
||||
<id>domain.enabled</id>
|
||||
<label>Enabled</label>
|
||||
<type>checkbox</type>
|
||||
<help>Enable this domain override</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>domain.domain</id>
|
||||
<label>Domain</label>
|
||||
<type>text</type>
|
||||
<help>
|
||||
Domain to override (NOTE: this does not have to be a valid TLD!),
|
||||
e.g. 'test' or 'mycompany.localdomain' or '1.168.192.in-addr.arpa'
|
||||
</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>domain.server</id>
|
||||
<label>IP address</label>
|
||||
<type>text</type>
|
||||
<help>
|
||||
IP address of the authoritative DNS server for this domain,
|
||||
e.g. '192.168.100.100'. To use a nondefault port for communication,
|
||||
append an '@' with the port number.
|
||||
</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>domain.description</id>
|
||||
<label>Description</label>
|
||||
<type>text</type>
|
||||
<help>You may enter a description here for your reference (not parsed).</help>
|
||||
</field>
|
||||
</form>
|
||||
<form>
|
||||
<field>
|
||||
<id>domain.enabled</id>
|
||||
<label>Enabled</label>
|
||||
<type>checkbox</type>
|
||||
<help>Enable this domain override</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>domain.domain</id>
|
||||
<label>Domain</label>
|
||||
<type>text</type>
|
||||
<help>
|
||||
Domain to override (NOTE: this does not have to be a valid TLD!),
|
||||
e.g. 'test' or 'mycompany.localdomain' or '1.168.192.in-addr.arpa'
|
||||
</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>domain.server</id>
|
||||
<label>IP address</label>
|
||||
<type>text</type>
|
||||
<help>
|
||||
IP address of the authoritative DNS server for this domain,
|
||||
e.g. '192.168.100.100'. To use a nondefault port for communication,
|
||||
append an '@' with the port number.
|
||||
</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>domain.description</id>
|
||||
<label>Description</label>
|
||||
<type>text</type>
|
||||
<help>You may enter a description here for your reference (not parsed).</help>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
@ -1,26 +1,26 @@
|
||||
<form>
|
||||
<field>
|
||||
<id>alias.enabled</id>
|
||||
<label>Enabled</label>
|
||||
<type>checkbox</type>
|
||||
<help>Enable this alias for the selected host</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>alias.host</id>
|
||||
<label>Host override</label>
|
||||
<type>dropdown</type>
|
||||
<help>Select the associated host override to apply this alias on</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>alias.hostname</id>
|
||||
<label>Host</label>
|
||||
<type>text</type>
|
||||
<help>Name of the host, without the domain part. Use "*" to create a wildcard entry.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>alias.domain</id>
|
||||
<label>Domain</label>
|
||||
<type>text</type>
|
||||
<help>Domain of the host, e.g. example.com</help>
|
||||
</field>
|
||||
</form>
|
||||
<form>
|
||||
<field>
|
||||
<id>alias.enabled</id>
|
||||
<label>Enabled</label>
|
||||
<type>checkbox</type>
|
||||
<help>Enable this alias for the selected host</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>alias.host</id>
|
||||
<label>Host override</label>
|
||||
<type>dropdown</type>
|
||||
<help>Select the associated host override to apply this alias on</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>alias.hostname</id>
|
||||
<label>Host</label>
|
||||
<type>text</type>
|
||||
<help>Name of the host, without the domain part. Use "*" to create a wildcard entry.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>alias.domain</id>
|
||||
<label>Domain</label>
|
||||
<type>text</type>
|
||||
<help>Domain of the host, e.g. example.com</help>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
@ -1,50 +1,50 @@
|
||||
<form>
|
||||
<field>
|
||||
<id>host.enabled</id>
|
||||
<label>Enabled</label>
|
||||
<type>checkbox</type>
|
||||
<help>Enable the override for this host</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.hostname</id>
|
||||
<label>Host</label>
|
||||
<type>text</type>
|
||||
<help>Name of the host, without the domain part. Use "*" to create a wildcard entry.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.domain</id>
|
||||
<label>Domain</label>
|
||||
<type>text</type>
|
||||
<help>Domain of the host, e.g. example.com</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.rr</id>
|
||||
<label>Type</label>
|
||||
<type>dropdown</type>
|
||||
<help>Type of resource record, e.g. A or AAAA for IPv4 or IPv6 addresses</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.mxprio</id>
|
||||
<label>MX Priority</label>
|
||||
<type>text</type>
|
||||
<help>Priority of MX record, e.g. 10</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.mx</id>
|
||||
<label>MX Host</label>
|
||||
<type>text</type>
|
||||
<help>Host name of MX host, e.g. mail.example.com</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.server</id>
|
||||
<label>IP address</label>
|
||||
<type>text</type>
|
||||
<help>IP address of the host, e.g. 192.168.100.100 or fd00:abcd::1</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.description</id>
|
||||
<label>Description</label>
|
||||
<type>text</type>
|
||||
<help>You may enter a description here for your reference (not parsed)</help>
|
||||
</field>
|
||||
</form>
|
||||
<form>
|
||||
<field>
|
||||
<id>host.enabled</id>
|
||||
<label>Enabled</label>
|
||||
<type>checkbox</type>
|
||||
<help>Enable the override for this host</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.hostname</id>
|
||||
<label>Host</label>
|
||||
<type>text</type>
|
||||
<help>Name of the host, without the domain part. Use "*" to create a wildcard entry.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.domain</id>
|
||||
<label>Domain</label>
|
||||
<type>text</type>
|
||||
<help>Domain of the host, e.g. example.com</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.rr</id>
|
||||
<label>Type</label>
|
||||
<type>dropdown</type>
|
||||
<help>Type of resource record, e.g. A or AAAA for IPv4 or IPv6 addresses</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.mxprio</id>
|
||||
<label>MX Priority</label>
|
||||
<type>text</type>
|
||||
<help>Priority of MX record, e.g. 10</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.mx</id>
|
||||
<label>MX Host</label>
|
||||
<type>text</type>
|
||||
<help>Host name of MX host, e.g. mail.example.com</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.server</id>
|
||||
<label>IP address</label>
|
||||
<type>text</type>
|
||||
<help>IP address of the host, e.g. 192.168.100.100 or fd00:abcd::1</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>host.description</id>
|
||||
<label>Description</label>
|
||||
<type>text</type>
|
||||
<help>You may enter a description here for your reference (not parsed)</help>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
@ -1,17 +1,17 @@
|
||||
{% if not helpers.empty('OPNsense.unboundplus.domains.domain') %}
|
||||
{% set forwardlocal = namespace(found=false) %}
|
||||
{% for domain in helpers.toList('OPNsense.unboundplus.domains.domain') %}
|
||||
{% if domain.enabled == '1' %}
|
||||
forward-zone:
|
||||
name: "{{ domain.domain }}"
|
||||
{% if domain.server.startswith('127.') or domain.server == '::1' %}
|
||||
{% set forwardlocal.found = true %}
|
||||
{% endif%}
|
||||
forward-addr: {{ domain.server }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if forwardlocal.found %}
|
||||
server:
|
||||
do-not-query-localhost: no
|
||||
{% endif %}
|
||||
{% if not helpers.empty('OPNsense.unboundplus.domains.domain') %}
|
||||
{% set forwardlocal = namespace(found=false) %}
|
||||
{% for domain in helpers.toList('OPNsense.unboundplus.domains.domain') %}
|
||||
{% if domain.enabled == '1' %}
|
||||
forward-zone:
|
||||
name: "{{ domain.domain }}"
|
||||
{% if domain.server.startswith('127.') or domain.server == '::1' %}
|
||||
{% set forwardlocal.found = true %}
|
||||
{% endif%}
|
||||
forward-addr: {{ domain.server }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if forwardlocal.found %}
|
||||
server:
|
||||
do-not-query-localhost: no
|
||||
{% endif %}
|
||||
{% endif%}
|
||||
@ -1,13 +1,13 @@
|
||||
{% if not helpers.empty('OPNsense.unboundplus.domains.domain') %}
|
||||
# Set private domains in case authoritative name server returns a Private IP address
|
||||
{% for domain in helpers.toList('OPNsense.unboundplus.domains.domain') %}
|
||||
{% if domain.enabled == '1' %}
|
||||
domain-insecure: "{{ domain.domain }}"
|
||||
{% if domain.domain is regex_match('.+\.(in-addr|ip6)\.arpa\.?$') %}
|
||||
local-zone: {{ domain.domain }} typetransparent
|
||||
{% elif not helpers.exists('system.webgui.nodnsrebindcheck') %}
|
||||
private-domain: "{{ domain.domain }}"
|
||||
{% endif%}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if not helpers.empty('OPNsense.unboundplus.domains.domain') %}
|
||||
# Set private domains in case authoritative name server returns a Private IP address
|
||||
{% for domain in helpers.toList('OPNsense.unboundplus.domains.domain') %}
|
||||
{% if domain.enabled == '1' %}
|
||||
domain-insecure: "{{ domain.domain }}"
|
||||
{% if domain.domain is regex_match('.+\.(in-addr|ip6)\.arpa\.?$') %}
|
||||
local-zone: {{ domain.domain }} typetransparent
|
||||
{% elif not helpers.exists('system.webgui.nodnsrebindcheck') %}
|
||||
private-domain: "{{ domain.domain }}"
|
||||
{% endif%}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user