Configuring Cisco IOS router for OpenDNS dynamic updatingDo you run a branch office (or a home lab network) with a Cisco IOS-based router? Do you use OpenDNS? I was running into an issue where every time my DHCP address changed on the external internet connection, I’d have to go into the OpenDNS panel, and reset my IP address. I discovered however, that OpenDNS supports the DynDNS HTTP method for dynamically updating my IP address in their system.
version 15.4 ! ip ddns update method opendns HTTP add http://USERNAME:PASSWORD@updates.opendns.com/nic/update?hostname=<h>&myip=<a> ! interface FastEthernet4 description External Network ip ddns update opendns ip dens update hostname NETWORK-LABEL-IN-OPENDNS-PORTAL ip address dhcp ip nat outside !