Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Wed Feb 15, 2012 1:33 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
glg wrote:
Target="[remote_addr]" works with the API, no need for for the php page on your linode.


That's neat, but that means you'll be hammering the Linode API and DNS servers every few minutes even when your IP hasn't changed...

My script runs every 5 minutes, checks if the IP is different from the previous run, and if so, triggers the API update. If you skip all that logic and simply execute the API call every 5 minutes, you're causing unnecessary load on Linode's end.


Top
   
 Post subject:
PostPosted: Wed Feb 15, 2012 10:09 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
Guspaz wrote:
glg wrote:
Target="[remote_addr]" works with the API, no need for for the php page on your linode.


That's neat, but that means you'll be hammering the Linode API and DNS servers every few minutes even when your IP hasn't changed...

My script runs every 5 minutes, checks if the IP is different from the previous run, and if so, triggers the API update. If you skip all that logic and simply execute the API call every 5 minutes, you're causing unnecessary load on Linode's end.


My IP very rarely changes, so I have it running daily or something like that.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group