If you are using zoneedit.com or dyndns.org for your DNS service 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.Now here is simple solution for this ddclient.
Update IP
Install ddclient in ubuntu
sudo aptitude install ddclient
This will complete the installation
Configuring ddclient
If you want to reconfigure you seetings use the following command
dpkg-reconfigure ddclient
You want to make sure it runs as a service and monitors changes in ppp–something that the install wizard doesn’t cover.
Edit the configuration file /etc/ddclient.conf
sudo gedit /etc/ddclient.conf
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf
pid=/var/run/ddclient.pid
protocol=easydns
use=web
server=members.easydns.com
login=yournamehere
password=’password’
*.your.domain
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
or
use=web, web=checkip.dyndns.org/, web-skip=’IP Address’
Save and exit the file
Restart ddclient service using the following command
sudo /etc/init.d/ddclient restart
0 Coment:
Post a Comment