feat: change DoH DNS provider (#1131)

* fix: change DoH DNS provider
opendns did not support CORS -- switched it with AhaDNS that does not
persist logs

* Update packages/dns-discovery/src/dns_over_https.ts

Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>

* add ahadns to cspell

* increase timeout on compliance test
possibly the new dns provider we use is taking longer than
opendns to resolve is why the test did not pass with
5000ms

Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
This commit is contained in:
Danish Arora 2023-01-24 23:42:21 +05:30 committed by GitHub
parent 5fae073ebd
commit cc1d8bb3d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View File

@ -5,6 +5,7 @@
"words": [
"abortable",
"Alives",
"ahadns",
"asym",
"backoff",
"backoffs",

View File

@ -16,10 +16,10 @@ export class DnsOverHttps implements DnsClient {
*/
static DefaultEndpoints: Endpoint[] = [
toEndpoint({
name: "cisco-doh",
name: "AhaDNS",
protocol: "https:",
host: "doh.opendns.com",
ipv4: "146.112.41.2",
host: "doh.la.ahadns.net",
ipv4: "45.67.219.208",
}),
toEndpoint({
name: "cloudflare",

View File

@ -9,7 +9,7 @@ const enrTree = `enrtree://${publicKey}@${fqdn}`;
const maxQuantity = 3;
describe("DNS Discovery: Compliance Test", async function () {
this.timeout(5000);
this.timeout(10000);
tests({
async setup() {
return wakuDnsDiscovery(enrTree, {