diff --git a/AGHTechDoc.md b/AGHTechDoc.md index 4ed2c4e3..c3b4b249 100644 --- a/AGHTechDoc.md +++ b/AGHTechDoc.md @@ -823,6 +823,7 @@ Response: "blocking_ipv4": "1.2.3.4", "blocking_ipv6": "1:2:3::4", "edns_cs_enabled": true | false, + "disable_ipv6": true | false, } @@ -839,6 +840,7 @@ Request: "blocking_ipv4": "1.2.3.4", "blocking_ipv6": "1:2:3::4", "edns_cs_enabled": true | false, + "disable_ipv6": true | false, } Response: diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index 7d5b84fb..09ec7e34 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -431,5 +431,7 @@ "try_again": "Try again", "domain_desc": "Enter the domain name or wildcard you want to be rewritten.", "example_rewrite_domain": "rewrite responses for this domain name only.", - "example_rewrite_wildcard": "rewrite responses for all <0>example.org subdomains." -} \ No newline at end of file + "example_rewrite_wildcard": "rewrite responses for all <0>example.org subdomains.", + "disable_ipv6": "Disable IPv6", + "disable_ipv6_desc": "If this feature is enabled, all DNS queries for IPv6 addresses (type AAAA) will be dropped." +} diff --git a/client/src/components/Settings/Dns/Config/Form.js b/client/src/components/Settings/Dns/Config/Form.js index 33c25f06..271ae3c5 100644 --- a/client/src/components/Settings/Dns/Config/Form.js +++ b/client/src/components/Settings/Dns/Config/Form.js @@ -65,6 +65,18 @@ let Form = ({ /> +
+
+ +
+