FreeBSD dyndns howto
A few days ago I’ve moved to a bigger apartment and I needed to change the ISP. Got a new contract, new ISP, 50Mbps speed for less than 10 Eur/month but only one problem .. no fixed IP address and from time to time I need to ssh on my home box.
So, the only solution was to create an account on dyndns.com and configure a dyndns client on my home gateway. After configuring the subdomain on dyndns.com I’ve chosen ipcheck as a dyndns client:
cd /usr/ports/dns/ipcheck
make install clean
The first time you run ipcheck you need to add the –makedat argument after which all you need to do is create a script dyndns.sh
for example
#!/bin/sh
cd
/usr/local/bin/python /usr/local/bin/ipcheck.py -l -i tun0 <username> <password> <hostname>
where :
<username> = your username on dyndns.com
<password> = obvious
<hostname> = a hostname configured on dyndns.com
and make crontab run it every 5 minutes to update your ip address.
[...] read more⦠Bookmark and Share: sociallist_90c16e57_url = ‘http://BSDNews.net/index.php/2009/09/10/freebsd-and-ddns/’; sociallist_90c16e57_title = ‘FreeBSD and DDNS’; sociallist_90c16e57_text = ”; sociallist_90c16e57_tags = ‘ddns,FreeBSD’; [...]