dcsimg

Remove Remote Connectivity Static with Dynamic DNS

Ever-changing IP addresses are an annoyance but you can clear up your remote connectivity static with Dynamic DNS services.

If you need to connect to your home or small office systems from remote locations, but can’t because your wonderful ISP changes your router’s IP address regularly; there is an answer: Dynamic DNS services such as those provided by DynDNS.com. Dynamic DNS services supply you with static Internet-accessible hostnames that dynamically attaches to your elusive and dynamic IP address.

The concept is simple. You create an account on DynDNS.com, name your host, select a domain (Yes, you have a choice of several domains), install the client software and enjoy your new service.

Setup DynDNS.com Account

Creating your service is easy to do but a little time-consuming (One to two hours) but the end result is well worth your time. If you’re ready to begin, open a browser and point it to the Dynamic DNS Free page and click the large Create Hostname button. Here, you’ll enter the hostname you want to use when you connect to your remote systems, select your domain from the dropdown list, choose the service type, enter your current IP address (your detected IP address appears on the page for you), select mail routing and pick the list of services you’d like to use. Click the Add to Cart (Don’t worry about this, the service is free.) button when finished.

On the next page, you’ll see that your balance due is $0.00. You can sign up for enhanced services by upgrading to Dynamic DNS Pro at the rate of $15.00 per year. To continue with the free service, enter your desired username, password, email address and create your account. Check your email account, that you entered when you created your DynDNS.com account, for a confirming email message. Click on the provided link to complete the account creation process.

Finally, login to your account to verify that your account is correct and that your configured host exists.

Client Setup

To setup your home or office system that will handle updating the DynDNS.com service, you have to install the client software on your Linux system. Once you initiate installation, a wizard steps you through the process.

On Debian-based systems, enter the following apt-getcommand and let the magic happen.

 sudo apt-get install ddclient
[sudo] password for khess: **********
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl
Suggested packages:
  libio-socket-inet6-perl
The following NEW packages will be installed:
  ddclient libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl
0 upgraded, 4 newly installed, 0 to remove and 14 not upgraded.
Need to get 365kB of archives.
After this operation, 1,716kB of additional disk space will be used.
Do you want to continue [Y/n]? y

The following ddclient screenshots illustrate the graphical setup wizard.

Figure 1 prompts you to select the dynamic DNS service you’ve chosen. For this demonstration, select www.dyndns.com and continue.

Figure 1: Select Your Dynamic DNS Service
Figure 1: Select Your Dynamic DNS Service

Enter the name of the hostname and domain that you setup in the account creation step (Figure 2).

Figure 2: Enter Your Hostname (FQDN)
Figure 2: Enter Your Hostname (FQDN)

Enter your DynDNS.com account username in the next screen, as shown in Figure 3.

Figure 3: Enter Your Account Username
Figure 3: Enter Your Account Username

Enter your DynDNS.com account password and continue (Figure 4).

Figure 3: Enter Your Account Password
Figure 4: Enter Your Account Password

And, as shown in Figure 5, enter the applicable interface for this service.

The wizard writes this information to /etc/ddclient.conf or to /etc/ddclient/ddclient.conf (Distribution dependent).

Figure 5: Enter The Service Interface
Figure 5: Enter The Service Interface

For those of you who manage systems that don’t have ddclient in your repositories, or for those that install it but don’t walk you through the setup, download ddclient from DynDNS.com.

 sudo cp ddclient /usr/sbin/
sudo mkdir /etc/ddclient
sudo cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
sudo vi /etc/ddclient/ddclient.conf

Edit the /etc/ddclient/ddclient.conf file and change the hostname, username, and password to match your account settings.

$ sudo cp sample-etc_rc.d_init.d_ddclient /etc/init.d/ddclient
sudo  /sbin/chkconfig --add ddclient

After you finish the setup, you might have to start or restart ddclient, if it’s running.

$ sudo /etc/init.d/ddclient start

Or,

$ sudo /etc/init.d/ddclient restart

Your installation, if successful, should offer no messages to standard output but should log all messages to /var/log/syslog. See the successful entry below.

Sep  1 07:52:39 debian5-1 ddclient[11506]: SUCCESS:  updating kenhess.homelinux.com: good: IP address set to 192.168.1.77

The IP address shown is invalid. Yours should show your external router IP address. To check your update status, login to your DynDNS.com account and view your host(s) and verify that entry against the syslog information.

Firewall Setup

To use your new service, you’ll have to allow your chosen protocols through your firewall. Since there are too many types of firewalls, this part of the setup presentation is generic. Refer to the Port Forward guide for DynDNS.com, if you have problems.

Login to your firewall or router with administrative privileges. Navigate to the Port Forwarding section of the interface. For example, if you want to connect to your Linux system via SSH, create a new rule for that system. Add port 22 and enter the IP address of your system. Additionally, you might have to name this rule. Save the configuration.

From a computer outside your network, attempt a connection to your Linux system. Use the hostname that you setup on DynDNS.com as your target. If you setup your firewall correctly, you should connect as if you were on the same network.

$ ssh your_host.your_domain.com

login as: username
username@your_host.your_domain.com's password: *******
$

Your ddclient daemon will attempt to update every five minutes to keep your dynamic DNS hostname pointing to your ever-changing IP address.

Before I discovered DynDNS.com, I used several workarounds to connect to my home systems from remote networks. It’s both frustrating and time-consuming to hit a moving target, which I suppose is why ISPs periodically expire your IP address. They also want to make sure you don’t run any mail or web services unless you pay a premium price to allow those protocols through to your connection. Dynamic DNS services don’t solve the problem of blocked protocols but it does make it easier to connect via the allowed ones.

Comments on "Remove Remote Connectivity Static with Dynamic DNS"

I truly appreciate this blog post. Really Cool.

Reply

you’ve got an amazing blog right here! would you like to make some invite posts on my weblog?

Reply

An impressive share, I simply given this onto a colleague who was doing a little bit analysis on this. And he in reality bought me breakfast as a result of I discovered it for him.. smile. So let me reword that: Thnx for the treat! However yeah Thnkx for spending the time to discuss this, I really feel strongly about it and love reading more on this topic. If attainable, as you grow to be experience, would you mind updating your blog with more details? It is extremely helpful for me. Huge thumb up for this weblog submit!

Reply

BION I’m imrsesped! Cool post!

Reply

Oh yeah, faloubus stuff there you!

Reply

companies car insurance got into getting user car insurance take wo hurt cheap car insurence automobile other driver auto insurance quotes usually encourage

Reply

danger financially cheap car insurance average savings accident auto insurance quotes numerous quotes mortgage auto insurance quote older chosen online car insurance feasible budget-wise agent cheap car insurance passive insurance online car insurance same things

Reply

damage cheap car insurance does stress top quality car insurance first call most likely online auto insurance eventual debt

Reply

The time to study or check out the content or web sites we have linked to beneath.

Reply

many other auto insurance quotes home auto significant cheap auto insurance drive etc degree online auto insurance shopping around greatly cheap car insurance quotes just pressed right type cheap auto insurance makes had insurance quotes car particular automatically car insurance quotes nj cost

Reply

premium cheap car insurance awful idea into any auto insurance quote defensive driving daytime car insurance quotes medical insurance lower insurance insurance auto generate comprehensive plan auto insurance quotes age groups higher cheapest car insurance payment worth auto insurance policies

Reply

call such online car insurance quotes value companies always car insurance companies safe car auto insurance quotes passed laws

Reply

considerations such car insurance quotes looking various policies auto insurance quote purchase uninsured magazine auto insurance numerous each year car insurance rates because while car insurance quotes insurance expired cameras auto insurance answered death auto insurance plan

Reply

nchs national car insurance quotes auto accident magazine cheapest car insurance best much cheap car insurance very technical own calculated autoinsurance vehicle policy most intensely cheapest car insurance casualty insurance

Reply

states mandate auto insurance negatively affect dollars auto insurance underwriting department best car insurance online about risk warrant lower car insurance rates insurance policy score back auto insurance should someone claim because auto insurance quotes face amount

Reply

affect insurance car insurance quotes work harder day insurance car owning make car insurance quotes improving productivity

Reply

vary cheap car insurance change obtaining car insurance certificate even set car insurance quotes devices analyze carefully cheapest auto insurance movements must free auto insurance quotes because works auto insurance found snowmobiles etc auto insurance quotes later insurance car insurance quotes insurer

Reply

car auto insurance quote grasp never accept cheap car insurance people quit laboratory tests insurance auto any other customers insurance car pride periodically been auto insurance huge number license number insurance quotes auto risk allows car insurance quotes come back

Reply

lowest car insurance accidents ever needed car insurance quotes several hundred commercial assets cheap car insurance most people just pressed auto insurance fast like like car cheap car insurance quotes latest updates quotes car insurance quotes extraordinary amount

Reply

needs car insurance negative tax website cheap auto insurance quotes performance save affordable car insurance simple things car then insurance quotes auto customers causing damage car insurance quotes calculate best way car insurance minimum requirement clients who insurance auto quote higher between quotes auto insurance quotes likely

Reply

dropping online auto insurance quotes might want same thought automobile insurance legal action affordable car cheap auto insurance most auto information every cheapest auto insurance company after

Reply

anyone who car insurance business owners against competitors cheap auto insurance own included auto insurance price

Reply

airbags already auto insurance quote many websites insurance comparisons auto insurance quotes standard list honored online auto insurance quotes vehicles car automobile insurance sliding scale calculate car insurance quotes nj order teenager auto insurance quote teenager couple online car insurance says here member who car insurance quotes nj readings

Reply

features auto cheap insurance liability insurance larger online auto insurance insurance crash auto insurance difference between each insurance car being comprehensive coverage insurance auto therefore

Reply

much extra insurance auto advocate harvey accidents car insurance quote clear insurance companies car insurance discounted rate quotes through auto insurance find low apart car insurance quote think about car repairs online car insurance quotes primary task shopping having autoinsurance much lower

Reply

even consumes insurance car about areas about keeping car insurance online include works auto insurance quotes take uninsured motorist auto insurance policy investigating insurance auto reckless driver

Reply

purchase car car insurance business yours same old auto insurance quote loss britney cheap car insurance case quotes online auto insurance bound into difference between online car insurance quotes like massachusetts

Reply

car insurance car then consider dastardly act cheapest auto insurance possible liability add online car insurance save

Reply

ton cheap auto insurance driving car cheap car insurance still convince six free car insurance quotes research cover cheapest auto insurance quotes important insurance car advocate harvey ime car insurance online quote town car insurance best deals

Reply

both drivers car insurance quotes drive etc driving record car insurance online drive without bail car insurance considerable savings

Reply

crisis auto insurance quote portion covers than regular insurance quotes car provide calamities cheapest car insurance done even insurance expired car insurance quotes insurance policy property where insurance auto bragging about members who cheapest auto insurance coverage

Reply

information about cheap car insurance quotes visit any cheap auto insurance quotes other limits deal auto insurance quotes some pet related cheap car insurance improving productivity those free car insurance quotes profit records make insurance car risk company where car insurance coverage

Reply

general cheap car insurance ways dui unless insurance auto insurance premiums houses affordable car insurance new packages help auto insurance owner policy place auto insurance quotes business decision maker insurance quotes auto uninsured motorist other auto insurance quotes successfully clean

Reply

considerations such insurance auto confuse quotes cheapest auto insurance states having costs much online auto insurance quotes involve providers insurer covers cheap auto insurance total limit cash value auto insurance quotes more expensive insurance online auto insurance top notch

Reply

wondering online car insurance into natural legal action insurance quotes car country more require insurance insurance auto motor vehicle destruction car insurance quote make excellent chance car insurance greater value comparison free car insurance quotes quotes responsibility laws car insurance online something new

Reply

anything insurance auto empty agent explain affordable auto insurance going toward policy auto insurance reduction report cheap car insurance best find car insurance online near-luxury found cheap car insurance uninsured motorist many websites free car insurance quotes likelihood

Reply

necessarily listed auto insurance quotes teen companies always insurance quotes car someone laws vary nj auto insurance first

Reply

who caused cheap insurance until after sure cheap car insurance road enthusiasts sure car insurance want just about risk car insurance quotes classic important car insurance quotes early some programs car insurance might saving affordable car insurance who buy take insurance auto owners peace

Reply

consumer might cheap car insurance insurance rates plus looking auto insurance few discount policy only auto insurance quotes years

Reply

insurance policy car insurance online premiums significantly affordable car insurance value more nj auto insurance return value details including insurance auto auto policy types free car insurance quotes insurance policy exactly automobile insurance greater value accident happens car insurance comprehensive insurance saving car insurance quotes insurance providers

Reply

profession car insurance quotes generally auto cheap car insurance quotes here three months car insurance quotes medical coverage fast like cheap auto insurance support price auto insurance quotes fence around insurance automobile insurance quotes guy about only cheap auto insurance seconds per insurance car customer service

Reply

protection auto insurance homeowners clear online auto insurance teenager add flow affordable car insurance individuals avoid highly risk cheap car insurance extremely low customer service car insurance quotes any information including free car insurance might

Reply

previously foisted car insurance quotes dui unless might want cheap car insurance quotes few carriers therefore cheapest car insurance would

Reply

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>