| Class |
Description |
| CDnsClient
|
Constructor which
initializes the current instance of the class |
| ~CDnsClient
|
Destructor which
releases resources allocated by the class |
| Method |
Description |
| AttachHandle
|
Attach the
specified client handle to this instance of the class |
| AttachThread
|
Attach the
specified client handle to another thread |
| Cancel
|
Cancel an
outstanding nameserver query |
| DetachHandle
|
Detach the handle
for the current instance of this class |
| DisableTrace
|
Disable logging of
socket function calls to the trace log |
| EnableTrace
|
Enable logging of
socket function calls to a file |
| EnumHostAliases
|
Enumerate the
aliases for the specified host name or address |
| EnumMailExchanges
|
Return a list of
mail exchanges for the specified host name or IP address |
| FormatAddress
|
Convert a numeric
IP address to a null-terminated string |
| GetAddress
|
Convert an address
string in dotted notation to a numeric IP address |
| GetDefaultHostFile
|
Return the fully
qualified path name of the default host file on the local
system |
| GetErrorString
|
Return a
description for the specified error code |
| GetHandle
|
Return the client
handle used by this instance of the class |
| GetHostAddress
|
Return the IP
address of the specified hostname |
| GetHostByAddress
|
Return a pointer
to data for the specified host IP address |
| GetHostByName
|
Return a pointer
to data for the specified host name |
| GetHostFile
|
Return the name of
the current host file |
| GetHostInfo
|
Return additional
information for the specified host |
| GetHostName
|
Return the host
name for the specified IP address |
| GetHostServices
|
Return a list of
services supported by the specified host |
| GetLastError
|
Return the last
error code |
| GetLocalAddress
|
Return the IP
address for the local host |
| GetLocalDomain
|
Return the local
domain name for the current session |
| GetLocalName
|
Return the local
host name |
| GetMailExchange
|
Return the host
that processes mail for the specified domain |
| GetRecord
|
Return record data
for the current host |
| GetResolverAddress
|
Return address of
last nameserver that resolved query |
| GetRetryCount
|
Get the number of
times the query is sent to each server |
| GetServerAddress
|
Return the address
of the specified nameserver |
| GetServerPort
|
Return the port of
the specified nameserver |
| GetTimeout
|
Get the number of
seconds until a query times out |
| IsInitialized
|
Determine if the
class has been successfully initialized |
| MatchHostName
|
Match a host name
against of list of addresses including wildcards |
| RegisterServer
|
Add a nameserver
address to the current session |
| Reset
|
Reset the current
client state |
| Resolve
|
Resolve a host
name into an IP address or an IP address into a host name |
| SetHostFile
|
Specify the name
of an alternate file to use when resolving host names and IP
addresses |
| SetLastError
|
Set the last error
code |
| SetLocalDomain
|
Set the local
domain name for the current session |
| SetRetryCount
|
Set the number of
times the query is sent to each server |
| SetTimeout
|
Set the number of
seconds until a query times out |
| ShowError
|
Display a message
box with a description of the specified error |
| UnregisterServer
|
Remove a
nameserver address from the current session |