+ client: handle DNSSEC setting

This commit is contained in:
Ildar Kamalov 2020-02-18 14:35:27 +03:00 committed by Simon Zolin
parent a5c2cdaf38
commit 79bfa6a72b
4 changed files with 19 additions and 2 deletions

View File

@ -479,5 +479,7 @@
"install_static_configure": "We have detected that a dynamic IP address is used — <0>{{ip}}</0>. Do you want to use it as your static address?",
"confirm_static_ip": "AdGuard Home will configure {{ip}} to be your static IP address. Do you want to proceed?",
"list_updated": "{{count}} list updated",
"list_updated_plural": "{{count}} lists updated"
}
"list_updated_plural": "{{count}} lists updated",
"dnssec_enable": "Enable DNSSEC",
"dnssec_enable_desc": "Set DNSSEC flag in the outcoming DNS queries and check the result (DNSSEC-enabled resolver is required)"
}

View File

@ -65,6 +65,18 @@ let Form = ({
/>
</div>
</div>
<div className="col-12">
<div className="form__group form__group--settings">
<Field
name="dnssec_enabled"
type="checkbox"
component={renderSelectField}
placeholder={t('dnssec_enable')}
disabled={processing}
subtitle={t('dnssec_enable_desc')}
/>
</div>
</div>
<div className="col-12">
<div className="form__group form__group--settings">
<Field

View File

@ -16,6 +16,7 @@ const Config = ({ t, dnsConfig, setDnsConfig }) => {
blocking_ipv4,
blocking_ipv6,
edns_cs_enabled,
dnssec_enabled,
disable_ipv6,
processingSetConfig,
} = dnsConfig;
@ -35,6 +36,7 @@ const Config = ({ t, dnsConfig, setDnsConfig }) => {
blocking_ipv6,
edns_cs_enabled,
disable_ipv6,
dnssec_enabled,
}}
onSubmit={handleFormSubmit}
processing={processingSetConfig}

View File

@ -45,6 +45,7 @@ const dnsConfig = handleActions(
blocking_ipv6: DEFAULT_BLOCKING_IPV6,
edns_cs_enabled: false,
disable_ipv6: false,
dnssec_enabled: false,
},
);