In fact I have 2 routers both configured with a DDNS acccount.
I wanted to setup a script, whereby I can send email notification in case internet service is down on the router.
For example,
ping router1.ddns.net , gets reply, internet is OK. ping router2.ddns.net, no reply, internet not OK, sends an email notification.
Note I do have a firewall, but it does not have the capability to send notification if internet service is down.