Use custom artax for DNS over HTTPS

This commit is contained in:
Daniil Gentili 2019-06-12 20:52:38 +02:00
parent 3fe04930e7
commit 80e50bcf20

View File

@ -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);
} }