mgutt Posted April 26, 2021 Posted April 26, 2021 Execute this script every 5 minutes (custom cron */5 * * * *) through the user scripts Plugin. It opens the DDNS URL only if the IPv4 or IPv6 has changed. By default the IPv4 is obtained through a web service like icanhazip.com and the IPv6 through the servers ethernet interface. Optionally you can obtain the IPv6 from a specific container: ipv6=$(docker inspect "Nginx-Proxy-Manager-Official" --format='{{range .NetworkSettings.Networks}}{{.GlobalIPv6Address}}{{end}}') Donate? 🤗 3 Quote
mgutt Posted June 17, 2021 Author Posted June 17, 2021 Manual DuckDNS Result: If you want to delete all status files generated through this script, execute this: rm /tmp/*.ddns Quote
StevieZ Posted September 8, 2022 Posted September 8, 2022 Do you have a bit more detail on how to do this? i host with ionos and have DNS with them, i had a standard way of update external IP on windows but can't seem to figure it out on linux or unraid? Quote
fir3drag0n Posted December 30, 2022 Posted December 30, 2022 (edited) Could you elaborate how to update several DDNs, such as two DDNs for instance? If I want to add a second container, I do not get an IPV6 address at all. Only the first Subdomain is updated in your script. Edited December 30, 2022 by fir3drag0n Quote
masterchef Posted August 14, 2023 Posted August 14, 2023 Hi. I am relatively new to Unraid. I have a "Vanity" Domain name that I would like to point permently to my Home based Unraid server so that it can be accessed from the Internet when I am away from home. My ISP (Virgin Media) supplies "Hub" to access my broadband but it is not possible to setup a "Static" WAN to the hub. It changes with time and on re-boot. I have been looking to find a suitable way to work with Unraid and my cloudflare account to "poll" my WAN address and deal with any changes. I did purchase a separate router (TP-Link Archer Wi FI) but try as I might while I could setup my wireless and wired home network I was unable to reach the Internet after setting the Virgin Hub to Modem mode. I followed through a number od utube self help videos but with no luck. I know its possible to do what I want with the right software. I am hoping your offering will do the trick but I cannot find any step by step for a beginner in Linux etc. Quote
mgutt Posted August 14, 2023 Author Posted August 14, 2023 59 minutes ago, masterchef said: I have a "Vanity" Domain name Does your domain hoster / provider offer "DDNS"? Sometimes it is called "DDNS API". That is a main requirement to update the IP of a specific subdomain like cloud.yourdomain.com to your current internet IP address. Another requirement is to have a public IPv4 address. Does your internet connection provide it? Check your routers webgui. It must not show a private IP address starting with 192, 10 or 168. There are of course other solutions available, but this is the first I would suggest to check. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.