DNS Server and online status

Giganews Newsgroups
Subject: DNS Server and online status
Posted by:  Alex Taylor (bassw…@vnet.hu)
Date: Mon, 07 Jun 2004

Hi All!

I know the usage of TidDNSResolver but I have a question. I'd like to
pass the client's default (default to the active internet connection)
DNS server's IP address to the component. How can I do this? I saw the
demo TraceRoute where the resolving function call the gStack's
WSGetHostByName function, that is an API call. I suppose it uses the
default DNS server. Can I get its IP? Other question: how can I
determine the online status of a machine? I tried with TidIPWatch, but
it didn't give me the result. (Maybe my mistake?)

TIA: Alex