Solved

ADSL DDNS Dillema

Posted on 2002-03-15
4
178 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

751 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