mirror of https://github.com/waku-org/js-waku.git
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:
parent
5fae073ebd
commit
cc1d8bb3d5
|
@ -5,6 +5,7 @@
|
|||
"words": [
|
||||
"abortable",
|
||||
"Alives",
|
||||
"ahadns",
|
||||
"asym",
|
||||
"backoff",
|
||||
"backoffs",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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, {
|
||||
|
|
Loading…
Reference in New Issue