Use custom artax for DNS over HTTPS
This commit is contained in:
parent
3fe04930e7
commit
80e50bcf20
@ -97,7 +97,8 @@ class DataCenter
|
|||||||
[
|
[
|
||||||
new Nameserver('https://mozilla.cloudflare-dns.com/dns-query'),
|
new Nameserver('https://mozilla.cloudflare-dns.com/dns-query'),
|
||||||
new Nameserver('https://google.com/resolve', Nameserver::GOOGLE_JSON, ["Host" => "dns.google.com"]),
|
new Nameserver('https://google.com/resolve', Nameserver::GOOGLE_JSON, ["Host" => "dns.google.com"]),
|
||||||
]
|
],
|
||||||
|
$this->HTTPClient
|
||||||
);
|
);
|
||||||
$this->DoHClient = new Rfc8484StubResolver($DoHConfig);
|
$this->DoHClient = new Rfc8484StubResolver($DoHConfig);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user