Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DDNS Updater Script

Featured Replies

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? 🤗

 

  • mgutt changed the title to DDNS Updater Script
  • Author

Manual

 

DuckDNS

 

200335325_2021-06-1718_11_43.png.63c2ee7ffc4115b7ca13c3f15108fa79.png

 

Result:

821625457_2021-06-1718_19_20.png.3a73ee85ee738f713be6ec552bcc92e9.png

 

If you want to delete all status files generated through this script, execute this:

rm /tmp/*.ddns

 

  • 1 year later...

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? 

  • 3 months later...

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 by fir3drag0n

  • 3 months later...
  • 3 months later...

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.

 

  • Author
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.

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.