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
- Install ddns-scripts and luci-app-ddns, then open Services, then Dynamic DNS in LuCI.
- Add a service, choose -- custom -- as the DDNS service provider and enter the values below.
- Or edit /etc/config/ddns with the configuration shown below, then run: /etc/init.d/ddns restart
| Field | Value |
|---|---|
| Lookup Hostname | your-hostname |
| DDNS Service provider | -- custom -- |
| Custom update-URL | https://[USERNAME]:[PASSWORD]@api.shiftdns.thunderhosting.com/nic/update?hostname=[DOMAIN]&myip=[IP] |
| Domain | your-hostname |
| Username | your-hostname |
| Password | thdns_xxxxxxxx |
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.