PDA

Click to See Complete Forum and Search --> : Getting DNS requests via Winsock


kliew
Jun 26th, 2000, 04:48 AM
How can we perform a function similar to nslookup using
the winsock controls? I'd like to check whether a few
DNS servers are alive by periodically pointing requests to
them and checking whether any response is received.

I don't wish to use the GetHostByName function which
only uses the DNS servers defined by the PC's IP setting.

Thanks very much in advance.

Ken
kliew@yahoo.com

Jun 26th, 2000, 09:47 PM
Maybe this is of any use to you:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=7858