diff --git a/src/core/config/Categories.json b/src/core/config/Categories.json index 3da6a5e0..8235ab10 100755 --- a/src/core/config/Categories.json +++ b/src/core/config/Categories.json @@ -155,6 +155,7 @@ "name": "Networking", "ops": [ "HTTP request", + "DNS over HTTPS", "Strip HTTP headers", "Dechunk HTTP response", "Parse User Agent", diff --git a/src/core/operations/DNSOverHTTPS.mjs b/src/core/operations/DNSOverHTTPS.mjs index f2c7203a..e0884430 100644 --- a/src/core/operations/DNSOverHTTPS.mjs +++ b/src/core/operations/DNSOverHTTPS.mjs @@ -18,9 +18,13 @@ class HTTPSOverDNS extends Operation { constructor() { super(); - this.name = "DNS Over HTTPS"; + this.name = "DNS over HTTPS"; this.module = "Code"; - this.description = "Calls out to HTTPS Over DNS Resolvers"; + this.description = ["Takes a single domain name and performs a DNS lookup using DNS vver HTTPS.", + "

", + "By default, Cloudflare and Google DNS over HTTPS services are supported.", + "

", + "Can be used with any service that supports the GET paramaters name and type."].join('\n'); this.infoURL = "https://en.wikipedia.org/wiki/DNS_over_HTTPS"; this.inputType = "string"; this.outputType = "JSON";