Dynamic IP update for OpenDNS

If you use a linux router, you probably already use ddclient to handle you dyndns.com, no-ip.com or other services to update your A records. To make this a reality, you can use the same service as dyndns in ddclient and here is the URL to update your IP!

URL as specified by the DynDNS.com folk's developer specifications
https://${username}:${password}@updates.opendns.com/nic/update?hostname=%{hostname}&myip=%{ip}

And finally, your ddclient code!


# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

pid=/var/run/ddclient.pid
protocol=dyndns2
use=if, if=eth0
server=updates.opendns.com
login=l33tuser
password='bigpasswordhere'
network_label

Reference: http://www.opendns.com/support/article/187
Reference: http://www.dyndns.com/developers/specs/syntax.html
Reference: http://www.opendns.com/support/article/192 (found this after I wrote this *palmface*)