Home > Blog > How to use Dynamic DNS service for a server with dynamic IP address

How to use Dynamic DNS service for a server with dynamic IP address

Hosting a website or a server can be a problem if you have dynamic IP because you need to update your DNS records in your domain name every time your server’s IP renews. My solution to this website that uses dynamic IP is by using a Dynamic DNS service that automatically renews its Dynamic DNS records. I’m using noip.com DDNS service that is supported by my router.

noip.com’s page

And this is the configuration in my router

Router configuration for Dynamic DNS

In nameserver lookup, it looks like this :

Nameserver lookup for blog.gabrielkheisa.xyz

After that, I rebooted my internet and its public IP changed, but the router keeps updating the IP address to the DDNS provider. Using the same domain (blog.gabrielkheisa.xyz), The A records always renew from CNAME’s A records (the DDNS domain).

IP address renews, but DDNS renews the record too to that renewed IP address. In a simple explanation, my domain points to the DDNS domain that points to the server’s dynamic IP address.

As you can see, my site blog.gabrielkheisa.xyz points to my DDNS domain (xxx.ddns.net) that automatically updates that changing dynamic IP address.

Speaking about Dynamic DNS, it also works for several applications such as VPN server that has trouble with dynamic IP, which can be solved with DDNS, online game server, etc.

Anyway, it is also possible to refer a CNAME to another CNAME like this :

I created a new server with a domain name sensor1.gabrielkheisa.xyz that points to xxx.ddns.net, then finally to the IP address.

2 thoughts on “How to use Dynamic DNS service for a server with dynamic IP address

    1. In general, ISPs and their CG-NAT do not have the ability to directly hijack or decrypt DNSCrypt queries, since DNSCrypt uses an HTTPS port and encrypts any DNS query. The encryption provided by DNSCrypt ensures the confidentiality and integrity of the DNS traffic between the client and the DNS resolver. However, ISPs can implement DNS blocking or filtering mechanisms that prevent access to specific domains or websites. While this doesn’t directly hijack DNSCrypt queries, it can block access to DNS resolvers that support DNSCrypt or disrupt the functioning of DNSCrypt.

      I guess your ISP does that on the IP level instead of the DNS query level. If your ISP has blacklisted an IP address or a website, using DNSCrypt Proxy alone may not be sufficient to access it. DNSCrypt Proxy encrypts DNS queries and responses, but it does not bypass IP-level or website-level blocking or restrictions imposed by your ISP. In such cases, you may need to explore alternative methods to bypass the restrictions imposed by your ISP. This could involve using a virtual private network (VPN) that encrypts your entire internet connection and routes your traffic through a different network, effectively bypassing the restrictions imposed by your ISP.

Leave a Reply

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