Skip to content

Commit 8e5aa2c

Browse files
committed
DNS over HTTP: Fix "validate" argument
The argument sets the "cd" parameter on the request. For both included providers, this flag disables validation ([1], [2]), so doing the exact opposite of the described action. This changes the label to the correct name and also flips the default value to keep the old behavior. [1] Google <https://developers.google.com/speed/public-dns/docs/doh/json#supported_parameters> [2] Cloudflare <https://developers.cloudflare.com/1.1.1.1/dns-over-https/json-format/>
1 parent 610d46a commit 8e5aa2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/operations/DNSOverHTTPS.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ class DNSOverHTTPS extends Operation {
6363
value: false
6464
},
6565
{
66-
name: "Validate DNSSEC",
66+
name: "Disable DNSSEC validation",
6767
type: "boolean",
68-
value: true
68+
value: false
6969
}
7070
];
7171
}

0 commit comments

Comments
 (0)