Solved

ADSL DDNS Dillema

Posted on 2002-03-15
4
174 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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 …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now