get DNS server name automatically

1 view
Skip to first unread message

lucy

unread,
Jul 19, 2004, 6:33:58 PM7/19/04
to
Hi all,

Does anyone know an API function or any other way to get the DNS
server name or IP automatically in a windows application?. I actually
need the IP but if i have the name i could get it, the problem is i
dont have the name, so how to get it?

thanks for your help!

lucy

unread,
Jul 26, 2004, 3:27:14 PM7/26/04
to
alu...@hotmail.com (lucy) wrote in message news:<d810b81c.0407...@posting.google.com>...


you can use GetNetworkParams() though it works for Windows XP,Windows
2000 Professional,Windows Me,and Windows 98,Windows Server 2003 and
Windows 2000 Server only. Anyone knows another function for other
Windows operative systems?
good luck!

Reply all
Reply to author
Forward
0 new messages