$answerfrom =
[line 137]
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 147]
The size of the answer packet.
This contains a integer containing the size of the DNS packet the server responded with.
$confpath =
[line 178]
A array of directories to search for the user's resolver config
$debug =
[line 188]
debugging flag
If set to true (non-zero), debugging code will be displayed as the resolver makes the request.
$defnames =
[line 116]
Unknown
$dnsrch =
[line 120]
Unknown
$domain =
[line 52]
The domain in which the resolver client host resides.
$dotfile = '.resolv.conf'
[line 171]
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 127]
Contains the value of the last error returned by the resolver.
$igntc =
[line 101]
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 38]
An array of all nameservers to query
$parsedfiles = array()
[line 241]
An array of config files that have been read/parsed already and is used to ensure the usable config files are searched for only once.
$port =
[line 45]
The UDP port to use for the query (default = 53)
$recurse =
[line 112]
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 160]
The location of the system resolv.conf file.
$retrans =
[line 69]
The number of seconds between retransmission of unaswered queries
$retry =
[line 76]
The number of times unanswered requests should be retried
$searchlist =
[line 62]
The searchlist to apply to unqualified hosts
An array of strings containg domains to apply to unqualified hosts passed to the resolver.
$stayopen =
[line 90]
Unknown
$tcp_timeout =
[line 154]
The number of seconds after which a TCP connection should timeout
$useEnhancedSockets = true
[line 198]
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 86]
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.