These are chat archives for CZ-NIC/knot-resolver
Knot Resolver: Resolve DNS names like it's 2019! https://www.knot-resolver.cz/support/
php -r "print_r(dns_get_record('cnn.com'));"I get:
PHP Warning: dns_get_record(): A temporary server error occurred. in Command line code on line 1
dig cnn.com, I get a proper result.
q: A? cnn.com. 4/0/0 cnn.com. [1m] A 184.108.40.206, cnn.com. [1m] A 220.127.116.11, cnn.com. [1m] A 18.104.22.168, cnn.com. [1m] A 22.214.171.124 (89)
dns_get_record(). Note that ANY never guaranteed that the result will contain A records if they exist. The server was always free to return whatever subset of types it liked.