Link to home
Start Free TrialLog in
Avatar of PNRT
PNRT

asked on

Update DNS in VB.net

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.
SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PNRT
PNRT

ASKER

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
Avatar of PNRT

ASKER

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.
>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.
Avatar of PNRT

ASKER

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?
Can you elaborate a bit on your requirements please.
Avatar of PNRT

ASKER

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.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PNRT

ASKER

Thanks for the reply, I take it then that no one knows how this is done?