LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Updating Name server with dynamic ip changes (https://www.linuxquestions.org/questions/linux-newbie-8/updating-name-server-with-dynamic-ip-changes-32197/)

terek 10-07-2002 10:13 PM

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.

DavidPhillips 10-07-2002 10:28 PM

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.

terek 10-07-2002 11:30 PM

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.

HappyDude 07-22-2003 01:11 AM

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.

Sapient 08-31-2005 07:21 AM

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






All times are GMT -5. The time now is 10:40 AM.