Inadyn is an IP update client for DynDNS.com. 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 DynDNS.com every time you restart the router. Otherwise, the visitors can’t reach to your website. The installation is pretty straightforward because Inadyn has already in the ports collection.

Install Inadyn from the port collection

cd /usr/ports/dns/inadyn; make install clean

Create a configuration file for inadyn

nano /usr/local/etc/inadyn.conf

Inside the inadyn.conf, put something like below and save it. Don’t forget to change the yourdydnslogin, yourdyndnspassword, yourdomain1.com with appropriate login information.

--username yourdyndnslogin
--password yourdyndnspassword
--update_period 60000
--alias yourdomain.com
--background

You can now run inadyn by simply using this command

inadyn

To run inadyn at startup, you must edit the crontab

export EDITOR=nano

crontab -e

In the crontab, add this line

@reboot /usr/local/bin/inadyn

Done!



No Responses to “Configuring Inadyn in FreeBSD”  

  1. No Comments

Leave a Reply