Tag Archives: DNS

Clear internal DNS cache in Google Chrome

I was moving a client’s web from one hosting to another and after checking that the DNS registers have already been updated I could load the page on the new server in Chrome. It was like still trying to reach the old IP. Then I assumed Chrome has some kind of DNS cache, and sure it does. If you want to clear it open chrome://net-internals/#dns and press “Clear host cache”.


Ref: http://superuser.com/questions/203674/how-to-clear-flush-the-dns-cache-in-google-chrome

Compile, Install, Configure and make start on boot the noip.com client in Raspbian

First sign up for a no-ip account in http://www.noip.com/ and create a hostname for your Raspberry Pi.


In your Raspberry Pi download the Linux client from http://www.noip.com/download?page=linux, uncompress, compile and install it:

$ wget http://www.noip.com/client/linux/noip-duc-linux.tar.gz
$ tar xzvpf noip-duc-linux.tar.gz
$ cd `find . -name "noip-[0-9]*"`
$ make
$ sudo make install

Once the client is installed it’s time to configure it by running this command:

$ sudo /usr/local/bin/noip2 -C

It will ask for your internet interface, login/email of your account at noip.com, your password, the domain you want to configure (if you only have one the client will take it by default) and the update interval (which you should leave it to 30). A configuration file will be created in:


Now that the client is configured you can run it this way:

$ sudo /usr/local/bin/noip2

DNS records don’t work right away because they need some time to propagate, so you’ll have to wait a little bit. You can check if it works using the ping command:

$ ping your-domain.no-ip.org
PING your-domain.no-ip.org (W.X.Y.Z) 56(84) bytes of data.
64 bytes from Z.W-X-Y.blabla.com (W.X.Y.Z): icmp_req=1 ttl=64 time=0.203 ms

If you want to run the client at boot time (which you’ll probably want…) create an init.d script file in /etc/init.d/noip2 with this content:

#! /bin/sh

# Provides:          noip2
# Required-Start:    $syslog
# Required-Stop:     $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: noip.com client service

# . /lib/lsb/init-functions
case "$1" in
        echo "Starting noip2."
        echo "Shutting down noip2."
        killall noip2
        #killproc /usr/local/bin/noip2
        echo "Usage: $0 {start|stop}"
        exit 1

exit 0

Then give it executable permissions and update the rc.d scripts:

$ sudo chmod +x /etc/init.d/noip2
$ sudo update-rc.d noip2 defaults

Now you can reboot your Raspberry Pi and it will automatically update it’s ip at noip on boot.

Ref: http://www.noip.com/support/knowledgebase/installing-the-linux-dynamic-update-client/