DuckDNS
Learn how to setup dynamic DNS in hostd with DuckDNS
Last updated
Learn how to setup dynamic DNS in hostd with DuckDNS
Last updated
DuckDNS is a free and reliable DDNS provider that offers a straightforward solution for associating a dynamic IP address with a domain name. It's important to note that DuckDNS only supports domains in the format of `*.duckdns.org`. In this guide, we will walk you through the process of configuring DDNS in hostd
using DuckDNS, enabling you to maintain uninterrupted connectivity to your storage provider, even with a dynamic IP address.
A running hostd
node
First, open a browser and go to https://duckdns.org. Sign in using one of their supported logins (Twitter, GitHub, Google, etc). You will be taken to the account management page, where you can create a free domain.
Think of a unique sub-domain. It should be unique and easy to remember
Enter the domain into the textbox
Click "add domain"
After adding the domain you will see it appear in the list below.
Copy the "token" from the DuckDNS account management page.
Access the hostd UI, http://localhost:9980
by default
Log in using your password
Navigate to the "Configuration" page
Change the "Address" to your DuckDNS domain (e.g. myhostdtest.duckdns.org:9982
)
Now, scroll down to the "DNS" section
Change "Dynamic DNS Provider" to "DuckDNS"
Turn on IPv4 and/or IPv6, depending on your setup
In the "Token" field, paste the token you copied from the DuckDNS webpage
Click "Save changes"
If you changed the settings correctly, you should see "Dynamic DNS enabled" in the top status bar. You will also need to announce your new net address so renters will be able to connect.
hostd
will now automatically update your DuckDNS domain when your IP address changes.