mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
unbound: support insecure-domain for #5104
This commit is contained in:
parent
00062ae8f8
commit
2b0c2caa44
@ -36,4 +36,12 @@
|
||||
<allownew>true</allownew>
|
||||
<help>List of domains to mark as private. You only need this for some DNSBL lists which resolve to private addresses.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>unbound.miscellaneous.insecuredomain</id>
|
||||
<label>Insecure Domains</label>
|
||||
<type>select_multiple</type>
|
||||
<style>tokenize</style>
|
||||
<allownew>true</allownew>
|
||||
<help>List of domains to mark as insecure. DNSSEC chain of trust is ignored towards the domain name.</help>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
@ -76,6 +76,9 @@
|
||||
<privatedomain type="CSVListField">
|
||||
<Required>N</Required>
|
||||
</privatedomain>
|
||||
<insecuredomain type="CSVListField">
|
||||
<Required>N</Required>
|
||||
</insecuredomain>
|
||||
</miscellaneous>
|
||||
</items>
|
||||
</model>
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
{% if not helpers.empty('OPNsense.unboundplus.miscellaneous.privatedomain') %}
|
||||
server:
|
||||
{% if not helpers.empty('OPNsense.unboundplus.miscellaneous.privatedomain') %}
|
||||
{% for privatedomain in OPNsense.unboundplus.miscellaneous.privatedomain.split(',') %}
|
||||
private-domain: {{ privatedomain }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if not helpers.empty('OPNsense.unboundplus.miscellaneous.insecuredomain') %}
|
||||
{% for insecuredomain in OPNsense.unboundplus.miscellaneous.insecuredomain.split(',') %}
|
||||
domain-insecure: {{ insecuredomain }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user