FlowAlp

Set up OpenWrt with Shift DNS

November 19, 2026

Step-by-step: let OpenWrt update your Shift DNS hostname automatically.

OpenWrt updates dynamic DNS with the ddns-scripts package (and luci-app-ddns for the web interface).

You need a hostname and a token with the UPDATE permission. In the values below, replace your-hostname with your hostname and thdns_xxxxxxxx with your token.

Steps

  1. Install ddns-scripts and luci-app-ddns, then open Services, then Dynamic DNS in LuCI.
  2. Add a service, choose -- custom -- as the DDNS service provider and enter the values below.
  3. Or edit /etc/config/ddns with the configuration shown below, then run: /etc/init.d/ddns restart
FieldValue
Lookup Hostnameyour-hostname
DDNS Service provider-- custom --
Custom update-URLhttps://[USERNAME]:[PASSWORD]@api.shiftdns.thunderhosting.com/nic/update?hostname=[DOMAIN]&myip=[IP]
Domainyour-hostname
Usernameyour-hostname
Passwordthdns_xxxxxxxx
ini
config service 'shiftdns'
	option enabled '1'
	option update_url 'https://[USERNAME]:[PASSWORD]@api.shiftdns.thunderhosting.com/nic/update?hostname=[DOMAIN]&myip=[IP]'
	option lookup_host 'your-hostname'
	option domain 'your-hostname'
	option username 'your-hostname'
	option password 'thdns_xxxxxxxx'
	option ip_source 'network'
	option ip_network 'wan'
	option interface 'wan'

After saving, trigger an update (or wait a few minutes) and check the hostname in the dashboard. If it does not work, see the troubleshooting article.