specifies a domain name which will be converted into an DNSName object.
Acceptable formats are listed below;
192.168.0.1 (literal IPv4 address format) 126.96.36.199.IN-ADDR.ARPA (defined in RFC1035; the value is same as above) www.example.com (generic domain name) ffff:0:4567:89ab:fdfa:132:0:413 (literal IPv6 address format) 188.8.131.52.0.0.0.0.a.f.d.f.b.a.184.108.40.206.220.127.116.11.1.0.f.f.f.f.IP6.ARPA (defined in RFC1886; same as above) ffff::192.168.0.1 (literal IPv6 address format)
and those formats are currently unsupported;
\[xffff0123456789abfdfa013200000413/128].IP6.ARPA (defined in RFC2874) \[x89abfdfa013200000413/80].\[xffff01234567/48].IP6.ARPA (same as above)
true if the domain name this object represents does not belong to ARPA domain.
Binary representation of sub-domains.
String representation of sub-domains.
The object that holds responses from the name server.
DNSAnswer( int stream, int limit )
specifies file pointer returned by fsockopen.
specifies the maximum number of bytes to read from the stream.
This object should be created via DNSResolver::sendQuery() method. To directly instantiate this object with a new operator is not a generic way.
If the actual message length is found exceeding the limit length while reading the response message stream, the rest would be ignored and the parser would return an error status.
result code returned by the name server. the value has following meanings: (mostly cited from RFC1035)
no error condition
The query was successfully accepted and interpreted by the name server.
The name server was unable to interpret the query.
The name server was unable to process this query due to a problem with the name server.
Meaningful only for responses from an authoritative name server, this code signifies that the domain name referenced in the query does not exist.
The name server does not support the requested kind of query.
The name server refuses to perform the specified operation for policy reasons. For example, a name server may not wish to provide the information to the particular requester, or a name server may not wish to perform a particular operation (e.g., zone transfer) for particular data.
Reserved for future use.
an array of DNSRecord objects that hold the same query record as given to DNSQuery object.
an array of DNSRecord objects that hold ANSWER records returned by the name server.
an array of DNSRecord objects that hold AUTHORITY records returned by the name server.
an array of DNSRecord objects that hold ADDITIONAL records returned by the name server.
The object that holds a query to ask the name server.
An integer value that specifies how much preferred the host is for mail exchange among others. The lower value means the stronger preference.
A DNSName object that represents the domain name of the host to use for mail exchange.
The mail address of the person responsible for this zone.
A DNSName object that specifies the domain name of the master name server, from which the zone information is transferred.
An integer value with which the slave(secondary) server identifies the revision of the zone information transferred from the master(primary) name server.
An integer value that specifies in seconds the interval after which the slaveserver tries to check the master name server for the updated zone information.
An integer value that specifies in seconds the interval after which the slave server retries zone transfer when the previous try failed.
An integer value that specifies in seconds the period during which the slave server sees the zone information is valid. After the expiry, the server will stop sending any records of the zone in response to the queries until the entire zone information is updated.
An integer value that specifies in seconds the minimum time the DNS records should be cached for.
mixed getTypeSpecificField( string name )
specifies a field name. The acceptable names depend on the record type.