Disable DNS over HTTPS on webhosts

This commit is contained in:
Daniil Gentili 2019-06-19 13:49:51 +02:00
parent 982e0940f1
commit 53dff22994
2 changed files with 14 additions and 10 deletions

View File

@ -100,7 +100,7 @@ class DataCenter
],
$this->HTTPClient
);
$this->DoHClient = Magic::$altervista ? new Rfc1035StubResolver() : new Rfc8484StubResolver($DoHConfig);
$this->DoHClient = Magic::$altervista || Magic::$zerowebhost ? new Rfc1035StubResolver() : new Rfc8484StubResolver($DoHConfig);
}
/**

File diff suppressed because one or more lines are too long