
Sign up to save your podcasts
Or


Kevie, co-host of TuxJam, discusses what a Dynamic DNS is and also introduces the free service DuckDNS. To complete this project you are going to need:
The first thing that we will need to do is to go to the DuckDNS website, sign in using your preferred method, once you complete the captcha then you will be given your unique token (copy or take a note of it, but don't share this with anybody).
Next you will want to create your own unique address, type in your chosen domain and click on Add Domain.
Now it is time to setup your Raspberry Pi. Log into your Pi and open a terminal. The first thing that we will do is make sure that it is up to date:
Install Curl using the command:
You will now create two new folders, the first is where the script will be kept, the second to store the logs:
We need to add a bash script that will update your IP with the DuckDNS service. First of all create a new file called duck.sh with the code:
At this point the file is empty, we need to enter in the command below. However you must replace DUCKDNSDOMAIN with the domain that was created on the DuckDNS website and replace DUCKTOKEN with your DuckDNS Token:
Now save and exit (ctrl+X, Y, enter on Nano).
Next we can set the script's permission so that nobody else will gain access to your token:
Last step: we need to set a cron task so that your Pi will update DuckDNS domain every 5 minutes:
Navigate to the bottom of the page and add the line:
Save and exit and your dynamic DNS should be up and running within five minutes.
By Hacker Public Radio4.2
3434 ratings
Kevie, co-host of TuxJam, discusses what a Dynamic DNS is and also introduces the free service DuckDNS. To complete this project you are going to need:
The first thing that we will need to do is to go to the DuckDNS website, sign in using your preferred method, once you complete the captcha then you will be given your unique token (copy or take a note of it, but don't share this with anybody).
Next you will want to create your own unique address, type in your chosen domain and click on Add Domain.
Now it is time to setup your Raspberry Pi. Log into your Pi and open a terminal. The first thing that we will do is make sure that it is up to date:
Install Curl using the command:
You will now create two new folders, the first is where the script will be kept, the second to store the logs:
We need to add a bash script that will update your IP with the DuckDNS service. First of all create a new file called duck.sh with the code:
At this point the file is empty, we need to enter in the command below. However you must replace DUCKDNSDOMAIN with the domain that was created on the DuckDNS website and replace DUCKTOKEN with your DuckDNS Token:
Now save and exit (ctrl+X, Y, enter on Nano).
Next we can set the script's permission so that nobody else will gain access to your token:
Last step: we need to set a cron task so that your Pi will update DuckDNS domain every 5 minutes:
Navigate to the bottom of the page and add the line:
Save and exit and your dynamic DNS should be up and running within five minutes.

289 Listeners

373 Listeners

268 Listeners

653 Listeners

826 Listeners

423 Listeners

164 Listeners

8,039 Listeners

181 Listeners

189 Listeners

42 Listeners

5,809 Listeners

98 Listeners

138 Listeners

221 Listeners