First, install the noip2 client:
sudo apt-get install libc-dev g++ build-essential
sudo su -
cd /usr/local/src
wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
tar xzf noip-duc-linux.tar.gz
cd no-ip-2.1.9-1
make
make install
Then, generate the configuration file
noip2 -C
Last, make noip2 daemon run at reboot
crontab -e
Add this line to crontab:
@reboot /usr/local/bin/noip2