Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ADSL DDNS Dillema

Posted on 2002-03-15
4
Medium Priority
?
187 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 150 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

886 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