Setup DDNS with home router

This article introduces a way to save your money from renting expensive server or paying for a static ip.

Following steps is tested on TELUS router:

  1. Find out your Default Gateway by executing ipconfig in CMD;
  2. Type your default gateway IP address in a browser. Login as admin;
  3. Go to Firewall
  4. Set DMZ to your computer’s IP (or you can use Port Forwarding on the ports you need to use, e.g. 4848, 8080);
  5. Go to ip-lookup or vpnmentor to check your public IPv4 address;
  6. Go to no-ip and register an account;
  7. Apply a hostname and point to your public IPv4 address;
  8. Login your router again
  9. Go to Advanced Setup
  10. At Dynamic DNS (DDNS) settings, choose no-ip and fill out all the information that you just registered on noip.com;
  11. At this point, you can access your computer from anywhere in the world by using the noip.com domain. However, if you want to use your own domain, simply add a CNAME record to your DNS

If your router doesn’t support noip.com service, then you can use dnspod.com service. In this way, you need your own domain and use dnspod’s DNS service. Dnspod has APIs for you to update your DNS record. Although, you will neet to write an app to monitor your home ip changes.

Note: CNAME record will return an IP from the domain this record pointing. Whereas, URL/Framed URL will just redirect any request to the pointed URL, which is generally slower than CNAME. For setting them, CNAME does not include “http:// ” and URL/Framed URL will include it. For example:
CNAME: .www.domain.com
URL/Framed URL: http://www.domain.com

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