What's new

DDNS on Merlin

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

wayner

Regular Contributor
Does Merlin/Asus Firmware work with multiple DDNS's simultaneously?

Let's say you set up the default xxx.asuscomm.com DNS service in the Merlin web UI and then you also setup xxx.dyndns.org. When your IP changes will it update both IPs or when you register the second DNS service does it wipe out the first?
 
Does Merlin/Asus Firmware work with multiple DDNS's simultaneously?

Let's say you set up the default xxx.asuscomm.com DNS service in the Merlin web UI and then you also setup xxx.dyndns.org. When your IP changes will it update both IPs or when you register the second DNS service does it wipe out the first?

The webui only lets you configure one single DDNS service.
 
The webui only lets you configure one single DDNS service.
Yes it only lets you configure one but it wasn't clear to me that when you configure a second one that your first DDNS is lost - from what you say it is.
 
Yes it only lets you configure one but it wasn't clear to me that when you configure a second one that your first DDNS is lost - from what you say it is.

You can't "configure a second one". That page is just one single DDNS setup, where you chose which DDNS service to use. It's not a selector to configure multiples ones.

One possible workaround would be to manually handle the other DDNS through a wan-start user script.
 
Thanks RMerlin - can you point me to an example of how to do this in a script via wan-start? I would like to use both the default Asus DDNS and DynDNS where I have a paid account as they forced you to do that recently.
 
Search online for examples on how to use ez-ipupdate with DynDNS. I've never done it myself so I don't know the actual command line arguments that would be required.
 
What I do is to use the wget command provided by freedns.afraid.org. I wrote a script to detect internet connection, personally I think it's best to lazily check internet connection instead of the single plain sleep command as this ensures in-case the modem was delayed, your command won't simply timeout.

Replace the # DDNS comment with a command provided by your DDNS service. Put this code into wan-start as described by RMerlin in his firmware wiki page.

Code:
#!/bin/sh
counti=1

#  Wait for Internet to be available.
logger -t  $(basename $0) "wyxscript: Waiting for internet to come up"
while [ $counti -lt 20 ]
do
counti='expr $counti + 1'
ping -c 1 google.com
if [[ $? == 0 ]];
then

logger -t  $(basename $0) "wyxscript: Internet is now up. "


# DDNS update command here 


break;

else
logger -t  $(basename $0) "wyxscript: Internet is not available yet...wait 30s...."
sleep 30s
fi
done
 
You can try dnsomatic, I use it to update HE, no-ip and opendns.
Dnsomatic supports almost 30-40 services and all is easy to setup.


Sent from my iPhone using Tapatalk
 
Thanks guys, those look like good solutions. I take it DNS-O-Matic is software that runs on a PC?
 
Thanks guys, those look like good solutions. I take it DNS-O-Matic is software that runs on a PC?

DNS-o-Matic is a DDNS service that the router firmware can update. DNS-o-Matic allows you to associate multiple accounts that need DDNS updates with it and when it receives updates, they are propagated to all of the services.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top