setup free DDns for your home pc using no-ip and router setting for no-ip

———————-Theory——————

Dynamic DNS (DDNS or DynDNS) is a method of automatically updating a name server in the Domain Name System (DNS), often in real time, with the active DDNS configuration of its configured hostnames, addresses or other information.

Your IP address is just like your phone number, but it is your computers personal phone number on the internet. It is used by your Internet Service Providers to connect your computer to the Internet. Your computer doesn’t have the same number every day, it has a dynamic IP address, meaning it changes. It could change once a month, once a week, or even a few times a day, but it does change. Dynamic IP addresses are very common since they are cost effective for ISPs.

Since a large majority of people have a Dynamic IP address at home, it can be extremely difficult to always reach your device, because your IP address is always changing. Since you aren’t alerted when it changes, it is very hard to keep track of.

Dynamic IP addresses present a problem if the customer wants to provide a service to other users on the Internet, such as a web service. As the IP address may change frequently, corresponding domain names must be quickly re-mapped in the DNS, to maintain accessibility using a well-known URL.

Many providers offer commercial or free Dynamic DNS service for this scenario. The automatic reconfiguration is generally implemented in the user’s router or computer, which runs software to update the DDNS service. The communication between the user’s equipment and the provider is not standardized, although a few standard web-based methods of updating have emerged over time.

——————Setup——————-

create a account at no-ip url – https://www.noip.com/sign-up

https://www.noip.com/sign-up

login to your account using your credentials.

Where you will get the  dashboard of no-ip.no-ip provide only3 free hostname to resolve.

On the top menu you find the diffreent option such as Hosts/Redirects,DNS Hosting etc

>click on Hosts/Redirects

Click on Add Host to add your host.It will ask you for the configure of ddns.

for field explanation:-

Hostname:-
A hostname is the unique name that will identify your computer. Pick something you will remember, such as yourname.serveftp.org.

Host Type:-

DNS Host (A): This is the most common choice. It maps your hostname to an IP address.

DNS Host (Round Robin): This maps your hostname to multiple IP address. Only used for DNS based load balancing (not common).
DNS Alias (CNAME): This maps your hostname to another hostname. It is useful for pointing many hosts to the same place and updating them easily.
Port 80 Redirect: Port 80 redirects are used to get around ISPs that block inbound port 80. By using the this and running your webserver on an alternate port users can access your site without having to enter the port number in the url.

 

Install client Dynamic DNS update client for linux

Dynamic DNS Update Client continually checks for IP address changes in the background and automatically updates the DNS at No-IP whenever it changes.It is open-source.

Install using terminal in Ubuntu:-(crtl+Alt+t):—-
you need to take root access
  >>  commands
       #sudo -i
       #cd /usr/local/src/
       #wget wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz

 

   #tar xf noip-duc-linux.tar.gz
   #cd noip-2.1.9-1/

    #make install
  It will popup for the username and the password.Enter your username/email and password for it.

 

Dynamic DNS setting in Router for no-ip :-

Take the access of your router find the tab or menu for dynamic DNS.In my case i have the D-link Router its you the section of Tool.
Settings for the no-ip is :-
Server Address:-  dynupdate.no-ip.com
Host Name        :-  <your dynamic hostname>
Username         :-  <username of no-ip>
password          :-  <password if no-iip>
click on save settings to apply the changes.
verify using ping :-
         #ping <hostname added at no-ip>
  You can check whether the configuration is done or not using command
#/usr/local/bin/noip2 -S
If you have changes the passowrd of no-ip the re-configure at the router and the configuration file at client using command –
 #/usr/local/bin/noip2 -C
Also you can check using command
  #dig <your hostname added at no-ip>
Note : .if your are getting the error like refusing for the connection. while access the ssh,ftp or using any service, don’t forget to port forward the port on your router that you want to access.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s