$answerfrom =
[line 153]
The origin of the packet.
This contains a string containing the IP address of the name server from which the answer was given.
$answersize =
[line 163]
The size of the answer packet.
This contains a integer containing the size of the DNS packet the server responded with.
$confpath =
[line 198]
A array of directories to search for the user's resolver config
A array of directories to search for the user's resolver config
$debug =
[line 208]
debugging flag
If set to TRUE (non-zero), debugging code will be displayed as the resolver makes the request.
$defnames =
[line 130]
Unknown
$dnsrch =
[line 134]
Unknown
$domain =
[line 62]
The domain in which the resolver client host resides.
The domain in which the resolver client host resides.
$dotfile = '.resolv.conf'
[line 189]
The name of the user defined resolv.conf
The resolver will attempt to look in both the current directory as well as the user's home directory for a user defined resolver configuration file
$errorstring =
[line 143]
Contains the value of the last error returned by the resolver.
Contains the value of the last error returned by the resolver.
$igntc =
[line 115]
Ignore TC (truncated) bit
If the server responds with the TC bit set on a response, and $igntc is set to 0, the resolver will automatically retransmit the request using virtual circuits (TCP).
$nameservers =
[line 44]
An array of all nameservers to query
An array of all nameservers to query
$port =
[line 53]
The UDP port to use for the query (default = 53)
The UDP port to use for the query (default = 53)
$recurse =
[line 126]
Recursion Desired
Sets the value of the RD (recursion desired) bit in the header. If the RD bit is set to 0, the server will not perform recursion on the request.
$resolv_conf = '/etc/resolv.conf'
[line 178]
The location of the system resolv.conf file.
The location of the system resolv.conf file.
$retrans =
[line 81]
The number of seconds between retransmission of unaswered queries
The number of seconds between retransmission of unaswered queries
$retry =
[line 90]
The number of times unanswered requests should be retried
The number of times unanswered requests should be retried
$searchlist =
[line 72]
The searchlist to apply to unqualified hosts
An array of strings containg domains to apply to unqualified hosts passed to the resolver.
$stayopen =
[line 104]
Unknown
$tcp_timeout =
[line 170]
The number of seconds after which a TCP connection should timeout
$useEnhancedSockets = true
[line 218]
use the (currently) experimental PHP socket library
If set to TRUE (non-zero), the Resolver will attempt to use the much more effecient PHP sockets extension (if available).
$usevc =
[line 100]
Whether or not to use TCP (Virtual Circuits) instead of UDP
If set to 0, UDP will be used unless TCP is required. TCP is required for questions or responses greater than 512 bytes.