Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




The Unofficial Ubuntu Starter Guide
Prev Home Next

Q: How to assign Hostname to local machine with dynamic IP using free DynDNS service?

  1. Read General Notes
  2. Read How to add extra repositories?
  3. e.g. Assumed that internet connections have been configured properly
         Register free Dynamic DNS at
         Automatically refresh IP in DynDNS Database/DNS every hour
         * * * * * means minute hour date month year
  4. sudo apt-get install ipcheck
    sudo gedit /root/
  5. Insert the following lines into the new file
    cd /root/
    if [ -f /root/ipcheck.dat ]; then
      ipcheck --makedat -r $USERNAME $PASSWORD $HOSTNAME
  6. Save the edited file (sample)
  7. sudo chmod 700 /root/
    sudo sh /root/
    export EDITOR=gedit && sudo crontab -e
  8. Append the following line at the end of file
    00 * * * * sudo sh /root/
  9. Save the edited file
The Unofficial Ubuntu Starter Guide
Prev Home Next

  Published under the terms of the GNU General Public License Design by Interspire