Free DDNS DuckDns
DuckDns
DDNS
Dynamic DNS service
what does the service actually do?
Duck DNS is a free service which will point a DNS (subdomains of duckdns.org) to an IP of your choice
why do I need a dynamic DNS service
DDNS is a handy way for you to refer to a server/router with an easily rememberable name, where the servers IP address is likely to change
Example:-
when your router reconnects, or ec2 server reboots, its ip address is set by the provider of that connection, this means it may update at any time
WHY?
Duck DNS – why
why do I need DuckDNS or any DDNS service?
Most connections to the internet are through a dynamic external IP address which changes quite often (weekly or even daily).
this can make it very difficult to connect to home services from an external computer. To get around this, Duck DNS is a provider of what is known as a DDNS (Dynamic DNS) service
we provide a public DNS server that anyone can get a subdomain and use one of our provided scripts to update their record(s).
so instead of trying to remember an IP address, you can use a domain name that is kept up-to-date by a computer at home
once this is done, periodically (usually every 5 minutes), the computer running the client, tells our central system (via an HTTPS post), to update the record with its latest external IP
it’s up to you what you do with it, usually, the IP address is for your router, most people log in to their router and configure certain ports to be forwarded to other computers running that are connected to the router
if you had set up your domain to be example domain, then told your router to forward the port 80 traffic to a server plugged into it running a web server, then from anywhere around the world you could hit exampledomain.techouse.org in a web browser.
if you had setup port 22 to be forwarded to a raspberry pi running ssh, you could ssh to it with
Advantages
Free for the single domain
No need to purchase the static IP’s for your computer, server, AWS ec2, azure etc
How use DuckDns?
How to useDuckDns for your network?
How to installDuckDns on your website?
First, we need to download the script from below link (copy and paste it into the terminal, DuckDns script will be downloaded)
echo url=“https://www.duckdns.org/update?domains=exampledomain&token=a7c4d0ad-114e-40ef-ba1d-d217904a50f2&ip=” | curl -k -o ~/duckdns/duck.log -K –
Follow the steps from below link