Rewrite ddns-up script.