danog / MadelineProto

Async PHP client API for the telegram MTProto protocol
https://docs.madelineproto.xyz
GNU Affero General Public License v3.0
2.8k stars 636 forks source link

Could not load the system's DNS configuration #1408

Closed tboxasia closed 11 months ago

tboxasia commented 11 months ago

Warning: Could not load the system's DNS configuration; falling back to synchronous, blocking resolver; Amp\Dns\DnsConfigException: Could not read configuration file '/etc/resolv.conf' (2) file_get_contents(): open_basedir restriction in effect. File(/etc/resolv.conf) is not within the allowed path(s): (/home/tlg/:/tmp/:/var/tmp/:/opt/alt/php81/usr/share/pear/:/dev/urandom:/usr/local/php81/lib/:/usr/local/php81/lib/:/usr/local/php56/lib/:/usr/local/php74/lib/:/usr/local/lib/php/) in phar:///home/tlg/domains/tlg.shet.in/public_html/boter/madeline-8.0.0-beta150.phar/vendor/amphp/dns/src/Rfc1035StubDnsResolver.php on line 556

danog commented 11 months ago

You can ignore this warning, and you can remove it by removing any basedir restriction.