Property | Type | Description | |
---|---|---|---|
DefaultDnsServers | List |
Method | Description | |
---|---|---|
BeginGetHostEntry ( |
Asynchronously resolves an IP address to an System.Net.IPHostEntry instance.
|
|
BeginGetHostEntry ( string hostNameOrAddress, AsyncCallback requestCallback, object stateObject ) : IAsyncResult |
Asynchronously resolves a host name or IP address to an System.Net.IPHostEntry instance.
|
|
ClearCache ( ) : void |
Clear the resolver cache
|
|
EndGetHostEntry ( IAsyncResult AsyncResult ) : |
Ends an asynchronous request for DNS information.
|
|
GetArpaFromIp ( |
Translates the IPV4 or IPV6 address into an arpa address
|
|
GetDnsServers ( ) : System.Net.IPEndPoint[] |
Gets a list of default DNS servers used on the Windows machine.
|
|
GetHostEntry ( |
Resolves an IP address to an System.Net.IPHostEntry instance.
|
|
GetHostEntry ( string hostNameOrAddress ) : |
Resolves a host name or IP address to an System.Net.IPHostEntry instance.
|
|
Query ( string name, DNSQType qtype, QClass qclass, int timeout ) : Heijden.DNS.DNSResponse |
Do Query on specified DNS servers
|
|
Query ( string name, DNSQType qtype, int timeout ) : Heijden.DNS.DNSResponse |
Do an QClass=IN Query on specified DNS servers
|
|
Query ( string name, DNSQType qtype, int timeout, List |
||
QueryCache ( string name, DNSQType qtype ) : Heijden.DNS.DNSResponse |
Do an QClass=IN Query on the previously cached results.
|
|
QueryCache ( string name, DNSQType qtype, QClass qclass ) : Heijden.DNS.DNSResponse |
Do an QClass=IN Query on the previously cached results.
|
|
Resolver ( ) : System |
Resolver constructor, using DNS servers specified by Windows
|
|
Resolver ( |
Constructor of Resolver using DNS server and port specified.
|
|
Resolver ( |
Constructor of Resolver using DNS servers specified.
|
|
Resolver ( string ServerIpAddress ) : System |
Constructor of Resolver using DNS address.
|
|
Resolver ( string ServerIpAddress, int ServerPortNumber ) : System |
Constructor of Resolver using DNS address and port specified.
|
Method | Description | |
---|---|---|
AddToCache ( Heijden.DNS.DNSResponse response, string questionKey ) : void | ||
GetActiveDNSServer ( ) : |
||
GetResponse ( Heijden.DNS.DNSRequest request, List |
||
IncrementTimeoutCount ( |
||
MakeEntry ( string HostName, int timeout ) : |
||
ResetTimeoutCount ( |
||
SearchInCache ( |
||
TcpRequest ( Heijden.DNS.DNSRequest request, List |
|
|
UdpRequest ( Heijden.DNS.DNSRequest request, List |
|
|
Verbose ( string format ) : void |
public BeginGetHostEntry ( |
||
ip | The IP address to resolve. | |
requestCallback | AsyncCallback | /// An System.AsyncCallback delegate that references the method to invoke when /// the operation is complete. /// |
stateObject | object | /// A user-defined object that contains information about the operation. This /// object is passed to the requestCallback delegate when the operation is complete. /// |
return | IAsyncResult |
public BeginGetHostEntry ( string hostNameOrAddress, AsyncCallback requestCallback, object stateObject ) : IAsyncResult | ||
hostNameOrAddress | string | The host name or IP address to resolve. |
requestCallback | AsyncCallback | /// An System.AsyncCallback delegate that references the method to invoke when /// the operation is complete. /// |
stateObject | object | /// A user-defined object that contains information about the operation. This /// object is passed to the requestCallback delegate when the operation is complete. /// |
return | IAsyncResult |
public EndGetHostEntry ( IAsyncResult AsyncResult ) : |
||
AsyncResult | IAsyncResult | /// An System.IAsyncResult instance returned by a call to an /// Overload:Heijden.Dns.Resolver.BeginGetHostEntry method. /// |
return |
public static GetArpaFromIp ( |
||
ip | IP address to get the arpa address form | |
return | string |
public static GetDnsServers ( ) : System.Net.IPEndPoint[] | ||
return | System.Net.IPEndPoint[] |
public GetHostEntry ( |
||
ip | An IP address. | |
return |
public GetHostEntry ( string hostNameOrAddress ) : |
||
hostNameOrAddress | string | The host name or IP address to resolve. |
return |
public Query ( string name, DNSQType qtype, QClass qclass, int timeout ) : Heijden.DNS.DNSResponse | ||
name | string | Name to query |
qtype | DNSQType | Question type |
qclass | QClass | Class type |
timeout | int | Timeout for lookup in seconds. |
return | Heijden.DNS.DNSResponse |
public Query ( string name, DNSQType qtype, int timeout ) : Heijden.DNS.DNSResponse | ||
name | string | Name to query |
qtype | DNSQType | Question type |
timeout | int | Timeout for lookup in seconds. |
return | Heijden.DNS.DNSResponse |
public Query ( string name, DNSQType qtype, int timeout, List |
||
name | string | |
qtype | DNSQType | |
timeout | int | |
dnsServers | List |
|
return | Heijden.DNS.DNSResponse |
public QueryCache ( string name, DNSQType qtype ) : Heijden.DNS.DNSResponse | ||
name | string | Name to query |
qtype | DNSQType | Question type |
return | Heijden.DNS.DNSResponse |
public QueryCache ( string name, DNSQType qtype, QClass qclass ) : Heijden.DNS.DNSResponse | ||
name | string | Name to query |
qtype | DNSQType | Question type |
qclass | QClass | |
return | Heijden.DNS.DNSResponse |
public Resolver ( |
||
ServerIpAddress | DNS server to use | |
ServerPortNumber | int | DNS port to use |
return | System |
public Resolver ( |
||
DnsServers | Set of DNS servers | |
return | System |
public Resolver ( string ServerIpAddress ) : System | ||
ServerIpAddress | string | DNS server address to use |
return | System |
public Resolver ( string ServerIpAddress, int ServerPortNumber ) : System | ||
ServerIpAddress | string | DNS server address to use |
ServerPortNumber | int | DNS port to use |
return | System |