From 80e50bcf2012587b063c2dc9c34cb148c5a52296 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 12 Jun 2019 20:52:38 +0200 Subject: [PATCH] Use custom artax for DNS over HTTPS --- src/danog/MadelineProto/DataCenter.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/DataCenter.php b/src/danog/MadelineProto/DataCenter.php index 5cf0f7cc..3462199f 100644 --- a/src/danog/MadelineProto/DataCenter.php +++ b/src/danog/MadelineProto/DataCenter.php @@ -97,7 +97,8 @@ class DataCenter [ new Nameserver('https://mozilla.cloudflare-dns.com/dns-query'), new Nameserver('https://google.com/resolve', Nameserver::GOOGLE_JSON, ["Host" => "dns.google.com"]), - ] + ], + $this->HTTPClient ); $this->DoHClient = new Rfc8484StubResolver($DoHConfig); }