# DnsClient

This class implements a simple Client for Name/IP resolution services, so you can obtain IP addresses from Host names or vice versa.

This class can perform its work synchronously, so the program will not respond to events while resolving host names/IPs, usually for a few seconds, or asynchronously. Default is synchronous.

This class is creatable.

`DIM hDnsClient AS DnsClient hDnsClient = NEW DnsClient ( )`

Creates a new DNS client object.

Properties |  | Methods |  | Events |
--- | --- | --- | --- | --- | ---
Async HostIP HostName Status |  | GetHostIP GetHostName Stop |  | Finished |