/inadyn

Inadyn is a free DDNS client. It makes is possible to have a fixed Internet hostname registered to a dynamic IP address.

Primary LanguageCGNU General Public License v2.0GPL-2.0

README

Build Status

Inadyn is a simple and small dynamic DNS (DDNS) client written in C. DDNS is a popular service for Internet users with dynamically allocated IP addresses.

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.

Common DDNS service providers supported by inadyn:

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.

Multiple Accounts Support

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:

background
verbose 1
period  300
logfile /var/log/inadyn.log
pidfile /var/run/inadyn.pid

system default@dyndns.org
  username yxxx
  password xyxx
  alias yyyy
  alias yyyy

system default@no-ip.com
  username xxyx
  password xxxy
  alias yyyy

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.