lembregtse/gandi-dyndns — pull request #3 by adamsutton (2012-07-06 13:38:56+00:00)
Title: Use optparse and change ip lookup service

Hi,

I found your script today while I was trying to find a dyndns solution for home. Since I also use gandi for my domain hosting you script was perfect.

I had some trouble with the command line option parsing (probably just me being an idiot) but I converted to use optparse anyway as this tends to be an easier to work with lib. Though I've not been through and converted all code (usage() etc...).

Also I found that the IP lookup service you're using blocks urllib2 requests (unless you change/set the user agent). So I switched it to another one I found that doesn't have this restriction.

Anyway thanks for the script.

Adam