Linode Forum Index Linode Forum
Linode Community Forums
 


Quick 'n easy Linode dynamic DNS for Python 3

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
jed



Joined: 28 Mar 2009
Posts: 394
Location: New Jersey

Posted: Wed Apr 29, 2009 8:47 pm    Post subject: Quick 'n easy Linode dynamic DNS for Python 3  

TJ Fontaine's API bindings for Python are Python 2 centric, and I wanted to do dynamic DNS updates via Linode's API in Python 3. The result was this quick 'n dirty script:

http://pastebin.linode.com/2440

In short, if you're looking to update dynamic DNS via Linode's API (i.e., home.yourdomain.com) and you're using Python 3, this might just be the script for you. This ended up being easier than porting TJ's bindings, as his method is fairly complex.

If I get motivated, I might morph this into a full API binding for both Python 2 and 3. If you want something like that, let me know.

As always, $10 discount off the code for fellow Linode users. Enjoy!
Back to top  
mikeshoup



Joined: 27 Apr 2004
Posts: 30

Posted: Wed Apr 29, 2009 9:29 pm    Post subject:  

I'm not on the Python 3 bandwagon yet. Much of what I use in Python has not been ported over to Python 3 yet.

I'm fine with just Python 2 bindings, but when I'm ready to switch to 3, I'm sure it'd be nice.
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1