Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing DNS Entry

Status
Not open for further replies.

NeilV

Programmer
Oct 14, 2002
117
GB
Hello.

I need to write a VB application that can update the DNS entry on the DNS server for a particular computer. For example when the application runs it will update the DNS entry for "myserver" to point to a particular(known) IP address. How can this be done?

Any help would great!

Neil
 
On Windows machines the DNS setings are kept in text files located in %SYSROOT%\System32\dns\. Familiarize yourself with these files and you should be able to make an app that can parse them in any way you want.



I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top