Solved

ADSL DDNS Dillema

Posted on 2002-03-15
4
177 Views
Last Modified: 2010-05-02
Hi All,

Im not sure if its the right place to ask this one, I am presuming that it can be done via VB.  I want to use a script to identify a local system IP and then register this to a specified DNS Servers as A host record (secure/non secure)

I have found various apps and examples for perl demonstrating this but would feel more comfortable attempting this with vb/vb script.  If anyone knows the code, or can point me in the right direction I would be grateful.  One long way around this is to run ipconfig to a text file, extract the ip address from this using WSH - the dns update I am not sure about.

Its for dynamically changing ip addresses on an adsl connection if you hadnt noticed.

Thanks

Greig.
0
Comment
Question by:schofield_g
  • 3
4 Comments
 

Accepted Solution

by:
stevengann earned 50 total points
ID: 6877400
If you are trying to keep you website available (running PWS or something on your home computer) there is a much better way.
For a long time I had my domain name registered through a service, wsmdomains.com that could PARK the domain. That is to say that it could redirect it to any specified URL.
Having that I directed it to the tiny space provided my by Road Runner Cable Internet "users.myname.cfl.rr.com".  There I placed a BOUNCE page that redirected (and broke out of the frame imposed by domain register) back into my home 98 box running PWS.
I created a program that checked my IP on a regular bases and if it changed, log the change with a date/time stamp and FTPed out a new bounce page with the updated IP. The response time from all that bouncing was unnoticeable and it all worked great for a long time. I had 20Gigs of space ASP, and complete control of the entire environment. I could have the CGI interact with the desktop or what ever I wanted.
Alas, poor Yoric, I knew hem well.   A nasty virus swept the land and laid waste to my creation. Sircam forced RoadRunner to block request and my web server was useless never see the light of the Internet again.

Hum… If this will work for you I will post the code so you can take advantage of this too. Updating an Internet DNS takes days to propagate and your sight will be down. This takes seconds….

Steven Gann MCP

0
 

Author Comment

by:schofield_g
ID: 6902182
Sounds good to me, sorry not to get back to you any sooner - been on hols..i did think along those lines, but I suppose using frames the end user wont know where it is...yep, sounds good to me and less complex...Can you please post the code and save me the headache (the wife moaning because im doing something on the pc again) :-)

Cheers

Greig.
0
 

Expert Comment

by:stevengann
ID: 6904558
Hi Greg,
Your wife sound like mine, and I make our living on the computer and she doesn’t even work!!!
Download the code at <  http://www.stevengann.com/ipupdate.zip > and good luck.
0
 

Expert Comment

by:stevengann
ID: 6904562
P.S Please let me know if it works OK for you.
stevengann@stevengann.com
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

713 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