In this guide we’ll see how to setup SafeDNS on OpenWRT routers with dynamic IP address.

If you have static IP or use some DynDNS service you can setup SafeDNS on your DD-WRT router as on any other router as described in this guide.
  1. Setup DDNS client. Select in menu System -> Software.

    1. Click Update lists.

    2. Type luci-app-ddns in Download and install package and click OK.

  2. Click Status in menu to refresh menu. New item Services and subitem Dynamic DNS will appear in menu.

  3. Fill form on page Dynamic DNS.

    1. In Custom update-URL copy string:

    2. In Hostname type something unique for every router if you have several routers.

    3. In Username type login for SafeDNS site, in Password type password for SafeDNS site.

    4. Click Save & Apply

  4. Enable and start DDNS service.

    1. Select in menu System -> Startup

    2. Click Disabled button for ddns service, then click Start.

  5. Check string appearing in system log (Status -> System log):

    user.notice ddns-scripts-myddns: Update successful
  6. Select in menu (Network -> Interfaces, WAN). In Use custom DNS servers add and Click Save & Apply.