Updating Dynamic IP Address Automatically September 8, 2005Posted by Carthik in administration, ubuntu.
If you have a server running at home, using Ubuntu – file server, webserver, ssh server or the kind – using a service such as zoneedit.com or dyndns.org to provide you with DNS services so that you can access your server using a URL, then you might have to update your DNS record at the service periodically whenever the IP address of your computer changes.
Experts recommend that you use ddclient, which updates the IP address whenever it changes. You can install it from the ubuntu repositories by doing a
$sudo apt-get install ddclient
and configure it as neccessary. If you can’t find the public IP address, then you can have ddclient check your public IP address from the web by editing /etc/ddclient.conf and making it use the web by saying:
use = web