hostname - The name to lookup (eg. www.php.net)
type - The record type to query
class - The zone class to query
The Net_DNS_Resolver::rawQuery() function performs a DNS query similar to the Net_DNS_Resolver::query() function; however, rawQuery() will return any response from the nameserver. This is useful when the response packet may or may not contain any resource records in the "ANSWER" section.
rawQuery() uses the same resolver configuration used by Net_DNS_Resolver::query().
For a description of the returned RR data object, see Net_DNS_RR.
Example 54-1. Using Net_DNS_Resolver::rawQuery()