Description:

This document describes how to use the action table of a LANCOM router to configure the dynamic DNS service by Strato.


Requirements:


Procedure:

1) Open the LANCOM router's configuration and go to the menu Configuration -> Communication -> General -> Action table.

2) You now create 4 new entries in the Action table.

  • The 1st entry forces an update of the IP number at the provider, at the latest after 25 days (2,160,000 seconds). Most DynDNS providers lock an account if the IP address isn't updated at least once every 25 – 30 days.
    • Enter a meaningful descriptor into the Name field.
    • The Remote site is to be set as the Internet connection for your device.
    • The Lock time is set to the value 2,160,000 seconds.
    • The Condition is set to Establish.
    • In the field Action the following syntax applies:
      http://<domain>:<pwd>@dyndns.strato.com/nic/update?hostname=<domain>&myip=%a&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG

    You need to replace the placeholders <domain> and <pwd> with your domain name and password.
    • In the field Result check you enter the command contains=good %a?skipiftrue=2.

  • The 2nd entry is started directly when a new connection is established. It checks the IP address that your provider has stored for your domain. If the entry is identical to the current IP address, steps 3 and 4 are skipped. If the entry is not the same, steps 3 and 4 are carried out.
    • Enter a meaningful descriptor into the Name field.
    • The Remote site is to be set as the Internet connection for your device.
    • The Lock time is set to the value 0 seconds.
    • The Condition is set to Establish.
    • In the field Action the following syntax applies:
      dnscheck:<domain>

    The placeholder <domain> is replaced with your domain name.
    • In the field Result check you enter the command isequal=%a?skipiftrue=1.

  • The 3rd entry then transmits your current IP address, just in case the DNS check produced a different result. A 900-second lock prevents your IP address from being transmitted too often, in which case the provider may lock your account.
    • Enter a meaningful descriptor into the Name field.
    • The Remote site is to be set as the Internet connection for your device.
    • The Lock time is set to the value 900 seconds.
    • The Condition is set to Establish.
    • In the field Action the following syntax applies:
      http://<domain>:<pwd>@dyndns.strato.com/nic/update?hostname=<domain>&myip=%a&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG

    You need to replace the placeholders <domain> and <pwd> with your domain name and password.
    • In the field Result check you enter the command contains=good %a.

  • With the 4th entry, the steps are repeated after 300 seconds to compensate for any potential transmission errors.
      • Enter a meaningful descriptor into the Name field.
      • The Remote site is to be set as the Internet connection for your device.
      • The Lock time is set to the value 0 seconds.
      • The Condition is set to Establish.
      • In the field Action the following syntax applies:

      repeat:300


3) Once you have created all of your entries, click OK and write the configuration back to the LANCOM router.