I have setup a DDNS account with Dynu, and everything is working fine, I just have one issue, I am getting a DHCP address from my ISP and when this address changes it does not update Dynu DDNS service, so I opened a support ticket with them and they told me to try this https://www.dynu.com/DynamicDNS/IPUpdateClient/Cisco-router-2851, the only problem is that ASA does not have the command shown below, is there another way I can add the below config so that my ASA can update Dynu when my public IP changes.
Cisco(DDNS-HTTP)# add http://api.dynu.com/nic/update?hostname=YOURHOSTNAME&password=YOURPASSWORD
Here a documentation for ddns on ASA: https://www.cisco.com/c/en/us/td/docs/security/asa/asa90/configuration/guide/asa_90_cli_config/basic_ddns.pdf
In summary, you'll need to configure the ddns globally:
ddns update method http://api.dynu.com/nic/update?password=YOURPASSWORD&hostname=
interval maximum 0 4 0 0
Then attach it to your outside interface:
ddns update hostname YOURHOSTNAME
ddns update http://api.dynu.com/nic/update?password=YOURPASSWORD&hostname=
I cannot seem to enter the question mark after update, I have tried Ctrl+V than pressing ? but it does not work, maybe its different in the IOS version I am using which is 9.12(2).
Also for the below update method is the below test command correct hostname is Testhost and password is Password1
I manage to add the command after a few goes and now have a few DDNS update methods mostly with mistakes, when I go to remove the other ones I get error Error ddns update method http:// and so on does not exit, I am simply copying the commands from the sh run command and putting a no in front of it and that is not working any ideas.
I have also tried to delete them from the ASDM, it deletes the entries but when I refresh they are back again.
Also the IOS summarises a long command with $ how do I remove that so I see the whole command on one line.
Just an update I manage to remove the old DDNS config, I had to use clear config ddns command which worked.
But when I go to enter ddns update http://api.dynu.com/nic/update?password=YOURPASSWORD&hostname=
on the outside interface I get error DYNUPD: method http://and so on is not configured.
also do you know how to remove how IOS summarises a long command with $.
Sorry I fixed the DYNUPD: I was missing the method command after update, everything thing is configured as shown below but the asa is still not updating the IP address on dynu.
After doing some more research I found this on dynu forum https://www.dynu.com/en-US/Forum/ViewTopic/Proper-hostname-when-using-Cisco-ASA/3445 it looks like I had the username and password wrong way around and did not use https I have done that now, updated config below, still does not update dynu ddns service.
Where you ever able to successfully get your ASA configured to work properly with Dynu?
I have a 5520 ASA that I am trying to configure for the same thing (ISP hands out DHCP address).
Would you mind sharing your findings or maybe give me a short walk through..maybe some redacted screen shots?
I'm configuring through the ASDM (v7.9) and I honestly don't know what to input. When adding a new update method I don't know if it wants the Dynu address, just a simple name of my choice, or what. I have a Cisco guide on DDNS, but I can't seem to get what I need from it and like you the document I found on Dynu's site had command line arguments that I could not use.
Any help would be incredibly appreciated...thank you so much in advance!
I am still waiting for a solution, I have another thread here : https://community.cisco.com/t5/firewalls/cisco-asa-5515-x-ddns-debug/m-p/3937516#M182182
I am waiting for Balaji to load my config and see if he can get it working, updated will be posted on that thread.
Thanks for the reply. I've got the other link and will watch that as well. I think that if Dynu is not able to help those of us with ASA's and Cisco (for whatever reason) is unable to help I may bite the bullet and just pay for something like DynDNS that I know can work with ASA's.
As simple of a process as this is I don't understand why it doesn't work. I will engage my Cisco channels as well and if I am able to come up with a solution will make sure to let you (and the rest of the community) know.
Keep me posted!