update freedns usage

philc 2023-02-09 10:10:04 +01:00
parent 8441f5690d
commit c72bfc2df0

@ -5,6 +5,21 @@ Anonymous solution behind an email address for free. You can also register any d
(https://freedns.afraid.org/)[https://freedns.afraid.org/}] (https://freedns.afraid.org/)[https://freedns.afraid.org/}]
Click on Dynamic DNS
![freeDNS dynamic link](img/freednsdynlink.png) ![freeDNS dynamic link](img/freednsdynlink.png)
Test image Choose a free available DNS like mooo.com or other then add townname.nationname it detects your current public IP address and create a redirection:
townanme.nationname.mooo.com => IP xx.xx.xx.xx
If your internet provider do not warranty a fix IP (mainly for internet pro) then you can add to your server the crontab. click on 'quick cron example' to get your url to check each 5 minutes and update freeDNS with your new IP (if it changed from the last 5 minutes ago previous test)
```
crontab -e
# You might need to include this path line in crontab, (or specify full paths)
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
4,9,14,19,24,29,34,39,44,49,54,59 * * * * sleep 48 ; wget --no-check-certificate -O - https://freedns.afraid.org/dynamic/update.php?YWVjZFVoFDersdeghgd12SlFIeFBIOjIxMGfdt56E5 >> /tmp/freedns_townname_nationname_mooo_com.log 2>&1 &
```