From KRayWiki
Jump to navigation Jump to search

Updating multiple Dynamic DNS domain names using ddclient on Linux in conjunction with dnsomatic.com

  1. Set up an account at dnsomatic.com (or another "what is my IP address" service).
  2. Point ddclient at the "what is my IP address" service.
    daemon=300 # check every 300 seconds syslog=yes # log update msgs to syslog mail=root # mail all msgs to root mail-failure=root # mail failed update msgs to root pid=/var/run/ddclient.pid # record PID in file. ssl=yes # use ssl-support. Works with # ssl-library use=web, web=myip.dnsomatic.com server=updates.dnsomatic.com protocol=dyndns2 login=dnsomatic_user password=dnsomatic_password all.dnsomatic.com
    • Note that dnsomatic_user and dnsomatic_password are allowed to be a valid OpenDNS authentication login and password.
    • Service Notes
      • DynDNS
        • The User ID IS NOT an e-mail address with domain. The @domain portion of the account e-mail address is not entered.
        • The Host/Identifier is the full domain to update.
  3. Start the ddclient.
    # service ddclient restart
  4. If services at dnsomatic.com do not get updates, it might be necessary to wipe the ddclient.cache file and restart ddclient.
    # cd /var/cache/ddclient # >ddclient.cache # service ddclient restart