mirror of
https://github.com/rekryt/iplist.git
synced 2026-02-26 09:18:35 +03:00
feat: fix amphp/dns version to 2.4.0
This commit is contained in:
@@ -74,7 +74,8 @@ class DNSHelper {
|
||||
}
|
||||
|
||||
public function loadConfig(): DnsConfig {
|
||||
return new DnsConfig($this->dnsServers, (new HostLoader())->loadHosts());
|
||||
return (new DnsConfig($this->dnsServers, (new HostLoader())->loadHosts()))
|
||||
->withAttempts(1);
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user