Click to See Complete Forum and Search --> : How do repair local connection from my app?


NoAntz
June 16th, 2005, 04:54 PM
Hi!!

I'm interested in simulating LAN's repair (http://support.microsoft.com/default.aspx?scid=kb;en-us;289256) option. Exactly I am interested in these two steps:

Domain Name System (DNS) cache is flushed: ipconfig /flushdns
DNS name registration: ipconfig /registerdns

I can be able to flush cached DNS (I use undocumented dnsapi function) but I don't know how I can make step two! :( I don't know which api functions I should use.

Someone has any idea?

Thanks in advance!