Solved

ADSL DDNS Dillema

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…
Suggested Courses
Course of the Month6 days, 14 hours left to enroll

623 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