I recently decided to configure dynamic DNS on my Cisco router at home. Lately, my ISP has been giving me issues causing my IP address to change quite often. Since I don’t pay for a static IP, I use dynamic DNS services to map my IP to a DNS name.
I use a free service from dyndns, which lets you pick a domain name to link to your IP. This is most useful for those of us hosting some minor applications behind our routers and we want to connect via a DNS name vs. an IP address that can change.
I usually just go to the website when my IP address changes, but I decided I wanted to let my router do the updating for me.
See sample config below ::
ip ddns update method DYNDNS
! put the “a” in brackets <>
! updates the entry every day
interval maximum 1 0 0 0
ip ddns update hostname MYFREE.DNSNAME.XYZ
ip ddns update DYNDNS
ip address dhcp