[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Update DNS in VB.net

Posted on 2012-09-03
9
Medium Priority
?
670 Views
Last Modified: 2012-10-05
Hi Experts, I have a closed network with a private IP range and an ADSL router to the internet.
I have a number of url's that point to the ADSL router, that need to be updated with DNS when the ADSL router IP changes.   So I need to be able update the DNS Server of my service providor with the change.    I would like to produce a vb.net program to accomplish this.  I will be able to handle the IP Number, the timer, creating a service etc, the only problem is updating of the DNS server of the service provider.  Would appreciate any examples or assistance.  Many Thanks.
0
Comment
Question by:PNRT
  • 5
  • 4
9 Comments
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 2000 total points
ID: 38360599
0
 
LVL 2

Author Comment

by:PNRT
ID: 38360607
Hi, thanks for the reply, yes its the ISP.  I was trying to make the disctition between updating the local DNS server on the domain controller (which is not the point as this is a private network), and updating the DNS of the ISP so that url's can get to the ADSL router.   The url's are such things as ftp.mycompany.com and vpn.mycompany.com etc
0
 
LVL 2

Author Comment

by:PNRT
ID: 38360646
Further to the above, the first link you suggested gets infomation from a DNS Server, the second link programtically changes the DNS Settings on a client.  As explained, I am looking for some way of programatically chnaging the IP address of a url on the DNS server of my ISP.
Thanks.
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38360688
>I am looking for some way of programatically chnaging the IP address of a url on the DNS server of my ISP

I hope you do not succeed with that :-)


Your hosting provider changes the ip address and then ISPs refresh their DNS servers with updated entries.
0
 
LVL 2

Author Comment

by:PNRT
ID: 38360704
LOL, yes I wondered about that.   But what I'm trying to do is replicate what dynDNS does.  I have DynDNS on the router but there are many url's that have to be updated.   CAn you perhaps suggest another way?
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38360797
Can you elaborate a bit on your requirements please.
0
 
LVL 2

Author Comment

by:PNRT
ID: 38360863
Thanks for the reply.   As I mentioned above.  I have a private network with an ADSL router.  I have a number of url's (ftp.mycompany.com, vpn.mycompany.com etc) that point to the ADSL router and are forwarded to their various functions.   When the ISP changes the IP on the ADSL router, which it does every day or so, the dns obviously has to be updated to point to the new IP Number.   I'm trying to find a way of updating the dns from our side as soon as the IP changes.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 38365213
I would buy a static IP address.
0
 
LVL 2

Author Comment

by:PNRT
ID: 38371528
Thanks for the reply, I take it then that no one knows how this is done?
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question