How to install no-ip client on Linux

noip2 is a dynamic update client for No-IP to keep your current IP address synchronized with your No-IP domain, no matter whether the IP is dynamically requested via DHCP or static assigned. Furthermore, with the domain name, we can host site using a “static” domain whose CNAME points to the No-IP domain.

noip2 is a open source package on Linux. Let’s see how to set up and configure it. This tutorial uses Fedora as the example.

Install the package

# yum install noip

Configure it for the first time

# noip2 -C

It will asks for the account/password information and asks for the domains to sync, just select and input the appropriate information here.

Configure noip to run automatically as a service

# chkconfig noip on

Then you can start it

# service noip start

You can configure it to run as normal users if the IP is get via NetworkManager after user logging in.

After the configuration, try to ping your No-IP domain and it should point to your public IP now.

To make noip2 service automatically update with your latest IP, add a crontab entry for root:

*/30 * * * * /sbin/service noip restart

The noip2 service will be restarted every 30 minutes. When the service is restarted, it will check your latest IP address and update the DNS record with no-ip.com .

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *