Net_DNS query of 'RP'
| From: | Bryan Loniewski | Date: | Fri, 02 Dec 2005 18:35:50 +0000 |
| Subject: | Net_DNS query of 'RP' | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-22139@lists.php.net to get a copy of this message | ||
After checking the archives on this list and spending some time trying
to figure it out... I would like to know if anyone can shed some light
on how to go about retrieving the 'RP' record from DNS using the
Net_DNS package? I'm aware that RP is an unsupported argument to the
query() function, but it does return the 'raw' data when using the
'RP' argument. Namely, I can see the email addresses (which is what
I'm after) in the rdata variable, however I can't figure out how to un-compress, convert) them to strings. Any tips are greatly needed.
Thanks.
_________________________
Bryan Loniewski
Rutgers University
NBCS - Systems Programmer