php-dns
php-dns copied to clipboard
Add 3rd parameter to getRecords to optionally skip filtering records
Fix for #53
Adds a 3rd parameter to getRecords to optionally skip filtering records. Backwards compatible with the original code.
This allows a lookup for any kind of record type (for example TXT
) to also return CNAME
records. This is consistent with how dig
also returns records.