From 0d0a6342553091bc490f787a2dcf19c9c41468cf Mon Sep 17 00:00:00 2001 From: h345983745 Date: Wed, 6 Feb 2019 23:27:27 +0000 Subject: [PATCH] Added More Request Types --- src/core/operations/DNSOverHTTPS.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/operations/DNSOverHTTPS.mjs b/src/core/operations/DNSOverHTTPS.mjs index 06519f48..2a4769ee 100644 --- a/src/core/operations/DNSOverHTTPS.mjs +++ b/src/core/operations/DNSOverHTTPS.mjs @@ -51,7 +51,9 @@ class HTTPSOverDNS extends Operation { "A", "AAAA", "TXT", - "MX" + "MX", + "DNSKEY", + "NS" ] }, { @@ -82,6 +84,7 @@ class HTTPSOverDNS extends Operation { " - An invalid Resolver URL\n" ) } var params = {name:input, type:requestType, cd:DNSSEC}; + url.search = new URLSearchParams(params)