Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Inadyn is a free DDNS client with HTTPS support. It makes it possible to have a fixed Internet hostname registered to a dynamic IP address. Download tarballs at

Fix issue #82: 'No rule to make target CHANGELOG'

Use more traditional (GNU) ChangeLog name for this file in inadyn.  The
build system got a little confused with multiple files with very similar

Signed-off-by: Joachim Nilsson <>
latest commit 7256141c6b
Joachim Nilsson authored
Failed to load latest commit information.
include Update NEWS and bump version for minor bugfix release 1.99.12
man Add to documentation.
plugins Add to documentation.
src Bump version for release and update CHANGELOG.
.gitignore Add missing script files for GNU build system.
.travis.yml Travis CI: Update for GNU configure script build.
AUTHORS Convert to GNU Configure & Build system
COPYING Convert to GNU Configure & Build system
ChangeLog Fix issue #82: 'No rule to make target CHANGELOG' Fix issue #82: 'No rule to make target CHANGELOG'
INSTALL Convert to GNU Configure & Build system
LICENSE Convert to GNU Configure & Build system Fix issue #82: 'No rule to make target CHANGELOG' Fix issue #82: 'No rule to make target CHANGELOG'
NEWS NEWS: Add boiler plante required file by GNU build system.
README Make the switch to markdown for README, keep compat symlink README: Cleanup and update stale sections.
TODO Convert to GNU Configure & Build system
aclocal.m4 Convert to GNU Configure & Build system Convert to GNU Configure & Build system
compile Convert to GNU Configure & Build system
configure Fix issue #82: 'No rule to make target CHANGELOG' Fix issue #82: 'No rule to make target CHANGELOG'
depcomp Convert to GNU Configure & Build system Allow slightly longer lines, we're way past the space age.
install-sh Add missing script files for GNU build system.
missing Add missing script files for GNU build system.

Inadyn | Small and simple DDNS client

Travis Status Coverity Status

Table of Contents


Inadyn is a small and simple DDNS client with HTTPS support. It is commonly available in many GNU/Linux distributions, used in off the shelf routers and Internet gateways to automate the task of keeping your DNS record up to date with any IP address changes from your ISP. It can also be used in installations with redundant (backup) connections to the Internet.

If your ISP provides you with a DHCP or PPPoE/PPPoA connection you risk losing your IP address every time you reconnect, or in DHCP even when the lease is renegotiated.

By using a DDNS client such as Inadyn you can register an Internet name at certain providers that the DDNS client updates, periodically and/or on demand when your IP changes.

Inadyn can maintain multiple host names with the same IP address, and has a web based IP detection which runs well behind a NAT router.

Supported Providers

The following DDNS providers are supported natively, other providers, like for instance, can be supported using the generic DDNS plugin. See below for configuration examples.

Some of these services are free of charge for non-commercial use, others take a small fee, but also provide more domains to choose from.

Inadyn v1.99.8 and later support HTTPS (v1.99.11 and later also support SNI), for DDNS providers that support this (you must check this yourself). Tested are DynDNS, FreeDNS,, and Loopia.

Using HTTPS is recommended since it protects your credentials from being snooped and further reduces the risk of someone hijacking your account.

Note: No HTTPS certificate validation is currently done, patches welcome!

Example Configuration

Inadyn supports updating several DDNS servers, several accounts even on different DDNS providers. The following example config file illustrates how it can be used. Feature is courtesy of Christian Eyrich.

Example /etc/inadyn.conf:

verbose        1
period         300
cache-dir      /mnt/ddns
startup-delay  60
#logfile /var/log/ddns.log
#pidfile /var/run/

  username yxxx
  password xyxx
  alias yyy
  alias zzz

  username xxyx
  password xxxy
  alias yyy

In a multi-user setup, make sure to chmod your .conf to 600 (read-write only by you/root) to prevent other users from accessing your DDNS server credentials.

Note, here only the DynDNS account uses SSL, the No-IP account will still use regular HTTP. See below for SSL build instructions.

The example has two commented out lines: logfile is disabled, causing Inadyn to default to use syslog, the pidfile is also commented out, so Inadyn defaults to create /var/run/inadyn/ instead.

The example also has a cache directory specified, which in this case is a persistent store for the three cache files /mnt/ddns/, /mnt/ddns/ and /mnt/ddns/

Generic DDNS Plugin

Aside from dedicated DDNS provider support, Inadyn also has a generic DDNS provider plugin. A DDNS provider like can be setup like this:

period         300
startup-delay  60
cache-dir      /etc/inadyn

system custom@http_srv_basic_auth
    checkip-url /
    server-url /update?hostname=
    username myuser
    password mypass

For Namecheap DDNS:

system custom@http_srv_basic_auth
    server-url /update?domain=YOURDOMAIN.TLD&password=NAMECHEAP-PROVIDED-DDNS-PASSWORD&host=
    alias myalias
    username your-username
    password namecheap-provided-ddns-password

Leave server-name as is, and change myalias if you wish to use a subdomain if you wish to use one. Username is your Namecheap username, and password would be the one given to you in the Dynamic DNS panel from Namecheap.

When using the generic plugin you should first inspect the response from the DDNS provider. Inadyn currently looks for a 200 HTTP response OK code and the string "good" or "OK" in the HTTP response body. You may have to modify Inadyn manually, any patches for this are most welcome!

Build & Install

By default Inadyn tries to build with GnuTLS for HTTPS support. GnuTLS is the recommended SSL library to use on UNIX distributions which do not provide OpenSSL as a system library. However, when OpenSSL is available as a system library, for example in many embedded systems:

./configure --enable-openssl

To completely disable the HTTPS support in Inadyn:

./configure --disable-ssl

For more details on the OpenSSL and GNU GPL license issue, see:

Origin & References

This is the continuation of Narcis Ilisei's original INADYN. Now maintained by Joachim Nilsson at GitHub. Please file bug reports, or send pull requests for bug fixes and proposed extensions.

Something went wrong with that request. Please try again.