How to determine current DNS server IP number? 
Author Message
 How to determine current DNS server IP number?

Does anybody know how to find out the current DNS servers when using dynamic
(DHCP) Nameservers on dial up?
I have no problem to read the DSN server IP('s) from the registry when they
are fixed. But how do i obtain the info when DNS servers are given
dynamically via DHCP or on PPP dial up?

Example: I dial up to my ISP, PPP negotiotes my IP number and DNS servers.
How can my program find out the DNS numbers obtained?

Alreday known/discoverd:
- winipcfg.exe can do write the information to a file, but it is a bit
akward  and very slow to shell out to a .exe and then read the results from
a file.
- there is a ipcfgdll.dll in Windows 98 that appears to be a dll version of
winipcfg.exe.Ipcfgdll.dll exports functions that appear to do the job, but
the dll is not documented. Anybody knows the function syntax for the exports
of ipcfgdll.dll ?



Fri, 29 Mar 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. How to determine current DNS server IP number?

2. Update DNS Host IP in a Zone - Windows 2000 Server

3. Determining Who is your DNS Server

4. Determine the index number of the current shape

5. Current control number - how to determine

6. Determine current line number in textarea

7. System.Net.DNS using different DNS server


9. ? determine the number of computer attached to a Netware server

10. DATES ISSUE: Number of the current Week of the current Month

11. Tcp/ip or Ip number ?

12. Resolve IP Numbers to IP Names in VB4


Powered by phpBB® Forum Software