Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100 off


Net_DNS_Resolver::rawQuery()

Net_DNS_Resolver::rawQuery()

Net_DNS_Resolver::rawQuery() -- Queries a nameserver and returns a response

Description

  • 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.

Note

This function can not be called statically.

© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.