Configuring Inadyn in Debian Squeeze

Valic —  April 18, 2011 — 2 Comments

inadyn is a C based client used to update DNS entries. Inadyn is an IP update client for, , etc.

Why we need this? Well you don’t really need this if you are using static IP.

But if you have dynamic IP, you must keep your IP updated with the domain you choose in or  every time you restart the router. Otherwise, the visitors can’t reach to your server.


apt-get update && apt-get install inadyn

or you can download inadyn:

cd /usr/src



cp inadyn/bin/linux/inadyn /usr/bin/inadyn

Change the file permission:

chmod 755 /usr/bin/inadyn

Configuration file for inadyn:

vim /etc/inadyn.conf

In the inadyn.conf file must look something like as shown below:

## inadyn configuration file

# Check for a new IP every 600 seconds
update_period_sec 600

# How often the IP should be updated even if it is not changed
#forced_update_period 600 (not recomended to be used)

# DynDNS username and password here
username your-username
password your-password

#An optional DNS service. For the acceptable services are one of,

## Dynamic DNS hosts
#A host name alias.
alias …etc

#run in background
#The name, including the full path, of a log file.
log_file /var/log/inadyn.log

Now set inadyn to start every time the system rebooted:

crontab -e

In the crontab, add this:

@reboot inadyn


Posts Twitter Facebook

Editor in Chief at Debian-Tutorials, Linux enthusiast.

2 responses to Configuring Inadyn in Debian Squeeze

  1. “@reboot inadyn” doesn’t work. Use “@reboot /usr/sbin/inadyn” instead.

Trackbacks and Pingbacks:

  1. Jtosme Movie - May 11, 2011


    Great information! I’ve been looking for something like this for a while now. Thanks!…

Leave a Reply