php-dns icon indicating copy to clipboard operation
php-dns copied to clipboard

Add 3rd parameter to getRecords to optionally skip filtering records

Open xorinzor opened this issue 10 months ago • 3 comments

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.

xorinzor avatar Aug 19 '23 13:08 xorinzor