Own Dynamic DNS. How to Set Up Remote Access via DDNS on a TP-Link Router - Static IP Address from Dynamic What is dynamic dns

From local network home router - you can provide access not only to the Internet, but also to the resources of the router itself.

We can talk about an FTP server, where the disk is used USB drive, etc. At the same time, it is possible to make all these resources accessible from the “external” network. For this purpose, the “dynamic DNS” service is usually used. We'll look at how to set up DDNS on your router.

Local and “external” network

First, let's try to explain how DDNS is used. From the local network, the router itself is accessible at the same address (for example, 192.168.10.1). On the “external” network, the WAN port is assigned specific IP address, which in most cases is mutable. It is useless to remember it, since the value can change at any moment. But it is possible to access the router without using the IP “explicitly”. It is enough to register once in the appropriate service and configure the DDNS option in the router.

After setting up DDNS, access to the router is carried out using domain name(which, in addition, the user can come up with). This is convenient, but only if everything is configured correctly.

How to register in the DDNS service?

Paid and free services

Here is a list of addresses of sites providing DDNS service:

  • no-ip.com
  • 3322.org
  • dyndns.org
  • dhs.org
  • update.ods.org
  • dyns.cx

The most famous of them is Dyndns. All configuration examples, as a rule, are given “for it”. But this service Recently became paid. So, you need to look for a free service (from those supported in the router).

It is important to know that a router of a certain model can only support some of the DDNS services.

Let's look at an example for TP-Link devices:

Dynamic DNS Tab

As you can see, in routers of this brand you can use 1 of 3 different services (but no more). Their list is available on the DDNS settings tab. Which is true for routers of different models.

Registration in the service

Before setting up the router, you need to register with the DDNS service. You need to get a domain name (the service will check it for uniqueness), and only then this name will need to be specified in the settings.

An email is required to register. New user card – usually contains information: first name, last name, region, email. If you require a zip code, you can leave this field blank.

As a result, the user will have a unique domain name at his disposal. For example, this: “1234router.no-ip.biz”. Also, an account is created to manage your account card (you need to remember the login and password for it).

How to set up DDNS on a router?

DDNS Settings Tab

The DDNS option in most routers is the easiest to configure. The web interface should have a tab containing all the required parameters: domain name, login with password, list of services.

Setting algorithm:

  1. Go to the required tab (usually “DDNS” or “Dynamic DNS” in the “Advanced settings” section)
  2. Select the service (the one you registered with)
  3. Fill in all empty fields
  4. If there is a checkbox “Enable”, check it and be sure to save the settings:

Setting up DDNS in TP-Link routers

The user must connect the router to the DDNS service by opening the interface and clicking the “Login” button (on the tab discussed above). The connection will remain valid until the router is rebooted.

DDNS Case Study and Known Issues

Let's say everything was done correctly, and additionally, the ftp server is enabled on the router. Then, from anywhere in the world, this server becomes accessible at the following address: ftp://1234router.no-ip.biz:80. The example is, of course, correct if the domain name "1234router.no-ip.biz" was obtained.

Sometimes it happens that the domain name still makes the router unavailable. In this case, just go to the service website, open an account (or specify a domain name) - and the router’s IP will appear in the window on the page. The problem is that after some time this IP may change.

But, in principle, this method is also relevant: instead of “1234router...” the IP address is indicated (which is actually assigned to the WAN port). The ability to see the IP value is provided by any of the services, and without any problems.

Additionally, we note the main difference between DDNS and 2IP.ru and the like: you can find out the router’s IP using DDNS from any device connected to the Internet (from anywhere in the world). Next, this IP is used to access the router.

Example of setting up a D-Link router for DynDSN

In this part of the review, we included three services at once: OpenDNS, GoogleDNS and Level3DNS, since they all have similar characteristics and it is difficult to choose the best among them.

It's important to note that the public DNS services listed do not use encryption. Let us also remind you that your Internet provider receives your personal data, and using public DNS will not save you from this.

OpenDNS (208.67.222.222 and 208.67.220.220)

OpenDNS, also known as Cisco Umbrella, is a very popular DNS service that filters content based on a variety of parameters, including blocking adult websites and providing protection against identity theft.

OpenDNS has free and premium plans, differing only in connection speed and the presence of an exception feature designed to create a “blocked network environment” (as OpenDNS calls it).

The most attractive option of the OpenDNS service is the ability to create custom filters, which allows you to filter content yourself. So, if you want to implement on DNS level, use OpenDNS.

Public Google DNS (8.8.8.8 and 8.8.4.4)

Google Public DNS is very popular. Although this service is quite fast and has good support, Google Public DNS has one drawback, and that is the collection of user statistics.

It's no longer a secret that Google makes money from advertising and collecting user data, which is then used to produce relevant results for search queries.

This cannot be said to be a serious security breach since GoogleDNS still does not have access to personal user data, but it is still necessary to keep in mind that data is being collected, and this could potentially lead to the disclosure of confidential information.

The Google DNS information website contains documentation that covers the services and functions of this service in more detail.

Level3DNS (4.2.2.1 and 4.2.2.2)

Level3DNS provides a wide range of products that are suitable for both personal purposes and the corporate segment.

Level3 is one of the largest Internet service providers, which means that almost all traffic passes through their servers. Level3 does not charge for DNS services (simply because that's what they do), and as a result, this service has reached the third place in popularity in the world.

As with the previously mentioned DNS servers, keep in mind that Level3 logs all queries originating from your computer.

The most confidential DNS servers

Based on the criterion of anonymity, we selected DNS services that do not register queries and still offer additional protection(ad blocking, malware blocking) connections.

DNS.Watch (84.200.69.80 and 84.200.70.40)

DNS.Watch is a public DNS service that has become famous due to the fact that no registration is required to use it.

DNS.Watch provides both IPV4 and IPv6 DNS servers common use and supports DNSSEC (note that DNSSEC does not mean "DNS encryption" in this case; DNS queries on this site are still not encrypted).

In our opinion, the shortcomings of DNS.Watch lie in speed - when testing from Russia, we found a long delay (more than 100 ms).

DNSCrypt

DNSCrypt offers support for encrypted DNS queries, but this service only works through its own software, so on the fly, just configure the DNS servers to network card, you won't be able to start working.

And that's why:

DNSCrypt, unlike other services, encrypts the DNS requests you make, rather than leaving them as readable text that can be easily intercepted.

DNSCrypt supports basic OS, and also provides firmware for the router. Installation and configuration instructions are provided on their website, right on the main page.

One more thing we can't ignore interesting feature, which allows the user to run their own DNS server - for some it may be useful.

Comodo Secure DNS (8.26.56.26 and 8.20.247.20)

Comodo Secure DNS provides quite a few services for a fee, but the DNS service itself is free and, according to the company itself, it can be recommended to anyone, especially those users who need reliable, fast and secure Internet surfing.

Choose a DNS from those listed by us, but do not forget that different services offer different functionality, and in our review we did not rank the services by location or name the best DNS, but we recommend all of these services for use.

These days there is almost none left free services DDNS, which allow you to spoof your dynamic IP address on the Internet at static domain name third level and thanks to this receive direct remote access to the router from the Internet. Therefore, many network equipment manufacturers introduce their own, like TP-Link ID, for their clients. I think this doesn’t mean anything to most, so we’ll figure out how to make a static IP address from a dynamic one and thereby set up remote access to the router.

Let's remember how yours works home router with activated ? You give it a range (pool) of local IP addresses.

When a computer connects to a router, the router selects for it one of the free IP addresses from this range, thereby identifying your computer on the local network. And this happens with every device, be it a computer, laptop or phone.


It is also possible to turn a dynamic IP address into a static IP address, that is, permanent, tied to only one device - in the router settings or on the computer itself, smartphone, TV, IP camera, etc.

This is convenient to do if you are setting up some kind of permanent relationship between devices within your local network, for example, to view a picture from, or to play a movie - so as not to change the settings in the program every time, we give each device its own permanent address.


Your provider works almost exactly the same way. Your neighborhood, which is connected to the provider’s equipment, is nothing more than a large local network. When you connect to the Internet, your host (computer or router) is part of one large local network with many routers. The provider's equipment has a DHCP server, and every time your computer or router connects to the Internet, it is inside this large network receives its IP address, which is automatically assigned to it by network equipment. In this case, this address can be of three types:

  1. Static- when your apartment is assigned a white external IP that never changes. That is, it is always permanent and by accessing it directly from the Internet, you will be taken to your computer or router. Since such addresses are very rare, you need to pay separate money for them on top of the tariff.
  2. Dynamic- also a white IP address, but which changes periodically. For example, after rebooting the router or for a certain period of time. This is a more common case and it is with this that the technology of replacing dynamic IP with static, which is called DDNS, will work.
  3. Grey- this is the most common case when one external IP address is issued for an entire house or neighborhood, which belongs to the provider’s router, and it, in turn, distributes its internal addresses to users. As an example, I can cite various modems and routers from mobile operators- they provide the Internet using exactly this technology, and with it, even with DDNS, we have nothing to catch at all - in order to gain access to your router or a device connected to it from the Internet, you need to establish a VPN connection.

I already wrote more about IP addresses and how to determine whether yours is gray or white.

So that when you go online you always have the same IP address, you need to ask your provider about it, that is, when translating into Russian, pay him extra money every month. However, not everyone can afford it, so services have appeared that solve this problem.

What is DDNS and why is it needed in a router?

DDNS(or Dynamic DNS, DynDNS) is a technology that allows you to track changes in an external IP address and convert it into a static domain name. It will always be the same and accessible from the Internet at the same web address. Support for DDNS services in the router allows you to make a static IP address from a dynamic one and organize remote access to the router and resources within your local network from the Internet.

What is required to use DDNS?

I hope everything is clearer now. To summarize, to organize remote access to a video surveillance system, an FTP file server and other resources on your local network from the Internet, one of the possible things is required:

  • White static IP address on the Internet, which can be provided by your provider
  • Make a static IP address from a white dynamic one using the DDNS service
  • Use cloud services
  • Working using the TCP/IP v.6 addressing protocol is a matter of the near future, since so far almost none of the providers this standard does not support, so there is no point in talking about it yet.

The main “trick” in using DDNS services is direct access to the router and resources that are created on its basis, for example, not only when connecting to it via wifi, but also from anywhere on the planet via the Internet. But it only works if you have an external WHITE IP address (dynamic or static)

How to make a static IP address from a dynamic one using the DDNS service No-IP.Com

The most accessible and free option is to use the NO-IP service. For clarity, I will describe the order of its operation.

  1. Your local network resource, let's say a home IP camera, gets an IP address from your router
  2. The router is configured to allow access to IP cameras via router IP + port
  3. Your router receives a white IP from your provider and connects to the Internet with it. This address changes periodically, because... it's dynamic.
  4. The DDNS service monitors changes in your external IP and replaces it with the same level 3 domain you registered
  5. From another computer via the Internet, for example, from work, access this domain name, or the domain name + router port to which the camera is configured
  6. And you get to the camera interface to view the picture

To organize this scheme, go to the website no-ip.com and create an account. This is a DynDNS service that turns your external dynamic IP address into a level 2 or 3 domain. Click on the “Sign Up” button, enter all your data and confirm your email using the letter sent to your inbox.

Next, log into your account using the registered login and password, click the “Add Host” button and fill in the parameters underlined on the screen. More precisely, all of them will be by default, except for the Hostname, which you just need to come up with and select a domain.

Also note that in the “Host Type” setting “Port 80 Redirect” must be enabled and in the port number entry field the exact one on which the program or service on the local network is running that we want to access by this domain name must be specified.

Save the settings and go to the admin panel of the router. Here we find a section in which we configure a connection to dynamic DNS (DDNS).

Dynamic DDNS on a TP-Link router

TP-LINK routers have the ability to choose from several popular DDNS services in the menu section of the same name “ Dynamic DNS«.

Select “NO-IP” from the list and enter the domain we have created, as well as indicate the login and password for authorization on the site no-ip.com. Then check the “Enable DDNS” checkbox and apply the settings to reboot the router. That's all, now when we access the registered web address, we will be taken to exactly the service that uses the port we specified in the DDNS service account.

In new budget models chapter " DDNS" hidden in " Additional settings»

Have more expensive models still more interesting - just recently TP-Link introduced cloud technologies, with which you can replace DDNS - now everything is even easier to configure. Go to the tab " Additional settings", section "Network - DDNS". Here you can also use your existing account at no-ip.com

But it is much more convenient to check the box in the “Service Provider” on “TP-LINK”. In order for everything to work, you need to log in using your .

If you have not registered in it yet, then do not waste time and do it now - it is absolutely free for users TP-Link routers. But then, through cloud technologies, you will be able to account remotely control the router without any additional complex DDNS settings, static IP addresses and other gadgets that are not easy for an ordinary user to understand.

http://www.dyndns.com/.

All the most necessary items that you need to go through (click or fill out) will be marked with a red frame and explanations are given.

So by going to dyndns.com we see the starting picture, then If you have already been here and in the future after registration, click on Sign In (Login). Now click on Get a FREE Domain Name

Choose the 1st free option and click Sign up

1. Enter name for your subdomain(here is an example of teamspeak3) and select domain from the list of possible whichever you prefer.

2. Enter current ip address of your PC or server, if you are doing this operation directly from it, then you can click on the link Your current location IP address is(Your current IP address) and the system itself will substitute it in the Ip Address field.

3. Click on Add to cart

Errors:

Please enter a valid IP address (Forgot to enter your IP)

This hostname already exists (This subdomain has already been occupied)

Once again we check the name for your domain and the cost is only $0 per this service, and then fill in the registration data directly.

1. Username (Come up with and remember a user name for this service)

2. Password (Create and remember a password)

3. Confirm password (Enter your password again)

4. Email (Enter your work email address, registration confirmation will be sent to it)

5. Confirm email (Enter your email address again)

6. Enter the number from the above image(Enter the numbers from the picture)

7. I agree (Be sure to check the box that you agree with the terms of service, you don’t have to check the other boxes)

Then click Create Account

Now click on My hosts (My domains), to view and activate our created subdomain.

Click on Checkout to Activate to activate the domain

The whole procedure costs 0 USD, just click Next(Further)

All you have to do is click Activate Services(Activate Services) to complete the activation of your domain.

Now we get message about successful activation , there is little left: learn how to view the list of your domains and download program for PC(Server), which will automatically notify the server about a change in IP address.

YЪ-ЪB ITPOYUEULPK NPЪZPCHPK OEDPUFBFPYUOPUFY LFPZP RTPCHBKDETB, S UFBM YULBFSH UEVE OPCHSHCHK LBOBM CH yOFETOEF. yN UFBM chchzh gfl. lBBBMPUSH VSH, OILBLYI UMPTSOPUFEK U RPDLMAYUEOYEN RP ADSL OE CHP'OILMP, OP... opp gfl YURPMSH'HEF (LBL Y PUEOSH NOPZYE RTPCHBKDETSCH) BCHFPTYBGYA RP RTPFPPLPMH PPPoE, DBCHBS DYOBNYUEULYK IP-BDTEU, LPFPTSCHK NEOSEFUS LBTSDSCHK WEBOU UCHSY. rPLB NBYOB TBVPFBEF CH LBYEUFCHE LMYEOFB, LFP OE CHSHCHCHBEF PUPVSCHI RTPVMEN, OP LPZDB NOE RPOBDPVYMPUSH ЪBRKHUFYFSH ABOUT UCHPEN LPNRSHAFETE UETCHET, CHUFBMB RTPVMENB: LBL PVTBEBFSHUS YY CHOEYOEK UEFI L NBIYOE, BDTEU LPFPTPK RPUFPSOOP NEOSEFUS?

rPOSFOP, YuFP OEPVIPDYNP LBL-FP KHUFBOPCHYFSH UPPFCHEFUFCHYE NETSDH OELINE DPNOOOSCHN YNEOEN Y IP-BDTEUPN, RTYUEN UPPFCHEFUFCHYE LFP OBDP DYOBNYUUEULY NEOSFSH, YUFPVSH POP TEBMSHOP T BVPFBMP. rPYULBCH CH UEFY, WITH DPUFBFPYUOP VSHUFTP OBUY OYULPMSHLP UETCHYUPCH DYOBNYUUEULPZP DNS (DDNS, Dynamic DNS).

lBL LFP TBVPFBEF?

dYOBNYUUEULYK DNS LFP FEIOPMPZYS, RPЪCHPMSAEBS YOZHPTNBGYY ABOUT DNS ACCOUNTING PVOPCHMSFSHUS CH TEBMSHOPN CHTENEOY Y (RP TSEMBOYA) CH BCHFPNBFYUEULPN TETSYNE. POB RTYNEOSEFUS DMS OBYUEOYS RPUFPSOOPZP DPNEOOPZP YNEOY LPNRSHAFETKH U YNEOSENSHCHN IP-BDTEUPN. ьФП NPTsEF VSHFSH IP-BDTEU, RPMHYUEOOOSCHK RP DHCP YMY RP IPCP CH UPEDYOEOSHI PPP, PPPoE Y YN RPDPVOSHCHI (OBRTYNET, RTY KHDBMЈOOPN DPUFHRE Yuete NPDEN). dTKHZIE NBYOSCH CH YOFETOEFE NPZHF KHUFBOBCHMYCHBFSH UPEDYOEOYE U LFK NBYOPK RP DPNEOOPNH YNEOY DBTSE OE OBFSH, YuFP IP-BDTEU YYNEOMUS.

CHTENS HUFBTECHBOYS BDTEUB (TTL) DMS DYOBNYUEULPK ЪBRYUY DEMBEFUS PYUEOSH NBMEOSHLIN (OE VPMEE DCHHI-FTI NYOHF), YOBYUE DTHZIE DNS-UTCHETSH RPNEUFSF EЈ CH UCHPK LY, LPZ DB POB YYNEOYFUS, YI LMYEOFSH DPMZP VHDHF RPMKHYUBFSH KHUFBTECHYHA YOZHPTNBGYA.

fBLYN PVTBUPN, UIENBFYUOP, RTPGEUU CHSHZMSDYF FBL:

  • TEZYUFTYTHENUS X RTPCHBKDETB DYOBNYUUEULPZP DNS, CHSHCHVYTBEN YNS DMS UCHPEK UYUFENSHY OBRYUSCHCHBEN EZP CH ZHTNKH ABOUT UBKFE.
  • lPOZHYZHTYTHEN UCHPK LPNRSHAFET FBL, YuFPVSH ON PVOPCHMSM DBOOSCH ABOUT ACCOUNTING RTPCHBKDETB DYOBNYUUEULPZP DNS.
  • FERETSH YICHOE L OBYEK NBYOE NPTsOP PVTBEBFSHUS RP ЪBDBOOPNH DPNOOOPNH YNEOY, RTYUEN OECHBTTSOP, LBLPK TEBMSHOSCHK IP-BDTEU YURPMSH'HEFUS UEKYUBU.

YuFP OHTsOP UDEMBFS?

DMS OBYUBMB OBDP PRTEDEMYFSHUS, LBL NSCH VHDEN YOZHPTNYTPCHBFSH UETCHET PV YYNEOOY IP. eUMY X ChBU ADSL, Y CHCH OE RPULKHRYMYUSH LHRYFSH NPDEN, URPUPVOSCHK TBVPFBFSH CH LBUEUFCHE TPHFETB, FP RPYUFY OBCHETOSLB ON UBN KHNEEF PVOPCHMSFSH UPPFCHEFUFCHHAEYE DBOOSCH VE CHUSLPZ P CHNEYBFEMSHUFCHB UP UFPTPOSH LPNRSHAFETB. rPDTPVOP ABOUT RTYNETBI LFP RPLBBOBOP ЪDEUSH.

EUMY CE CHCH RPDLMAYUEOSCH L UEFI YOSCHN URPUVPVPN, RTDEFUS KHUFBOPCHYFSH ABOUT UCHPEN LPNRSHAFETE RTPZTBNNH-LMYEOF DMS PVOPCHMEOYS DBOOSCHY OBUFTPIFSH ITS. rTPZTBNNNSCH FBLYE NPTsOP ULBUBFSH U UBKFPCH UPPFCHEFUFCHHAEYI RTPCHBKDETPCH DYOBNYUEULPZP DNS, FBN PVSHYUOP VSHCHBAF CHETUIY DMS TBOSHI PU, FBL YuFP ЪBDEKUFCHBFSH FBLHA U IENH RPD Linux YMY FreeBSD PVSHYUOP FTHDB OE UPUFBCHMSEF.

rTPCHBKDETSCH DYOBNYUEULZP DNS

fBLYI RTPCHBKDETCH UHEEUFCHHEF OENBMP. ABOUT YJVPMEE Y'CHEUFOSH Y'OYI:

lBTsDSCHK RTPCHBKDET RTEDPUFBCHMSEF UCHPY HUMKHZY RMBFOP. OP YUBUFSH HUMHZ VEURMBFOB. lFP PVSHYUOP PYUEOSH NBMEOSHLBS YUBUFSH, CHPNPTSOPUFY DYOBNYUEULPZP DNS NOPZP YYTE, OP OBN ICHBFYF. UPCHEFKHA CHOINBFEMSHOP POBBLPNYFSHUS U UPPFCHEFUFCHHAEYNY UBKFBNY, OBVPT VEURMBFOSHI HUMKHZ KH CHUEI UCHPK, ChPNPTSOP, ChBU ЪБЪБЪФЭТУХАФ ЛБЛИЕ-ФП ДПРПМОІСHOSHChПЪNPC OPUFFY.

RTYNET TEZYUFTBGYY

yFBL, TBUUNPFTYN TEZYUFTBGYA DPNEOOPZP YNEOY (DMS RTYNETB, ABOUT UETCHYUE DynDNS).

yBZ 1. uP'DBOYE BLLBHOFB.

zPFPChP! FERTSH CHSHCHVTBOOPE chBNY DPNEOOPE YNS VKhDEF CHUEZDB PDOPOBYUOP CHEUFY ABOUT chby IP-BDTEU, VEPFOPUYFEMSHOP FPZP, LBLPC LFP BDTEU! b EUMY RTPEE, FP hBYE YNS FERETSH UBNEOSEF hBY IP.