LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-07-2002, 10:13 PM   #1
terek
Member
 
Registered: Jun 2002
Location: Utah
Distribution: Fedora 5
Posts: 32

Rep: Reputation: 15
Updating Name server with dynamic ip changes


This one might need to go in networking, but I am still an incredible newbie.

I tried ez-ipupdate and it has a problem with trying to send my local network's ip address. I need it to send my dsl's internet ip address.

My DNS service provider is easydns.com.

Are there any other ipupdating programs that are easier to use than ezipupdate? I do not know how to configure it to grab my modem's ip address.

I found a javascript that does this but I have no clue how to make that automatically run on boot up.

I have searched for help with ez-ipupdate here, and got this. Is there an ipupdating client for linux that doesn't grab your ethernet card's address?
Quote:
Got it... ( post #3)

I found a dynamic dns client that supports routers with NAT. This is default on the windows side, but not on Linux. Got the client, configured it and all is well. now.

Thanks for the quick reply

mwmethe
Unfortunately mwmethe didn't say what client he found that works.
 
Old 10-07-2002, 10:28 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
I have never looked at ezipupdate.

You said you had a javascript that works?

You can start it in rc.local

rc.local runs after the other startup scripts, so if you are starting your connection on boot it will be up when rc.local is run.
 
Old 10-07-2002, 11:30 PM   #3
terek
Member
 
Registered: Jun 2002
Location: Utah
Distribution: Fedora 5
Posts: 32

Original Poster
Rep: Reputation: 15
Thank you DavidPhillips

Unfortunately the javascript also has the problem where the first thing it does is ask you in little popup windows for your name password domainname. Then it waits for you to tell it how often to cycle.

However I think I found a solution! I set up a shell command to use ez-ipupdate that grabs my ip from www.whatismyip.com then runs ez-ipupdate and updates my server's ip address with that ip.
(note ez-ipupdate is not getting my ip address it can only look at eth0, eth1, and other network devices for their ip addresses. I am doing a wget -q www.whatismyip.com to figure out my ip before I call ez-ipupdate

Then I set up crontab to run my shell command every 15 minutes. I ought to figure out how to make my shell command do if else commands so I can check if my ipaddress has changed, and if it hasn't then don't bother calling ez-ipupdate. But that will be a research project for another day.

Once again, thank you DavidPhillips, I am learning more and more about linux every time I sit down and try to solve a problem

I kindof gave up on this problem after working on it for hours so I posted here for help. Then It kept bugging me after resting for a while so I went back to it and looked in places I didn't think of before on the net to find this solution.

If anyone needs help with this half batched job I would gladly help them but I personally don't think it is the greatest method of fixing this problem. I have the source for ez-ipupdate and will probably play around with that to fix this problem somehow when I am not so dang busy with school and work.
 
Old 07-22-2003, 01:11 AM   #4
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Rep: Reputation: 15
EDIT: Nevermind I found a script at the official site, needed some tweaking though...

Well I have the same problem you had... Think you could post a lil bit on how you did it? Thank you.

Last edited by HappyDude; 07-23-2003 at 11:05 AM.
 
Old 08-31-2005, 07:21 AM   #5
Sapient
Member
 
Registered: Oct 2003
Location: San Luis Obispo, CA
Distribution: SuSE
Posts: 196

Rep: Reputation: 30
Quote:
Originally posted by HappyDude
EDIT: Nevermind I found a script at the official site, needed some tweaking though...

Well I have the same problem you had... Think you could post a lil bit on how you did it? Thank you.
You can try these. I got them through www.zoneedit.com:

Other/Cross-Platform:

http://sourceforge.net/projects/rzodyndns/ (Java Dynamic DNS Client) for any platform. Runs as java servlet. Simple to handle. Configured for Tomcat.

IPCheck works on OS/2 as well http://zoneclient.sourceforge.net/. It works on most platforms that have python installed.

Here's a troubleshooter for Mac DynDNS setup. http://www.zoneedit.com/doc/dynamic/macdynsetup.html



zedynip.pl : ZoneEdit PERL source code that can be used as a 'reference implementation' for a client or daemon.
http://www.zoneedit.com/doc/zedynip.pl





Last edited by Sapient; 08-31-2005 at 07:23 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamic updating reverse-dns problem Garbledwords Linux - Networking 4 06-24-2005 02:04 PM
Own DNS server possible with dynamic IP nizbit Linux - Networking 3 01-01-2005 09:59 AM
Dynamic IP and Mail server mikeshn Linux - General 5 11-20-2004 01:58 PM
Updating DHCP - dynamic inet connection won't update lrt2003 Slackware 2 05-26-2004 12:57 AM
Web server with dynamic IP bripage Linux - Networking 2 01-19-2003 11:14 PM


All times are GMT -5. The time now is 12:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration