Jump to content

Dynamic IP update


garrop
 Share

Recommended Posts

Hello,

 

From zoneedit.com:

 

-----------------------------------

From one of our customers: It's very easy to update the dynamic zoneedit entries on UNIX with either of these two command lines (if you have wget or lynx installed):

 

lynx -source -auth=username:password 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com'

 

wget -O - --http-user=username --http-passwd=password 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com'

 

PPP users should place one of the above commands (or a perl client) in the file /etc/ppp/ip-up or /etc/ppp/ppp.linkup, which are called whenever a ppp connection is made.

 

Users of dhcpcd may place these commands in the file /etc/dhcpc/dhcpcd-eth0.exe or /etc/dhcpc/dhcpcd-eth1.exe which are executed whenever a new dynamic IP address is acquired

 

-----------------------------------------------

 

I have created the sh file and locate it within the cron.hourly directory. It is working fine, but it sends requests every hour even if it is not needed. How can avoid this and send a request only after my ip is changed?

 

I have looked for the files indicated by zoneedit.com, but can not find them within Mandrake 10.1

 

Any help will be greatly appreciated.

 

:help:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...