Configurare OpenWrt con Shift DNS
November 19, 2026
Passo dopo passo: fai aggiornare automaticamente il tuo hostname Shift DNS da OpenWrt.
OpenWrt aggiorna il DNS dinamico con il pacchetto ddns-scripts (e luci-app-ddns per l'interfaccia web).
Ti servono un hostname e un token con il permesso UPDATE. Nei valori qui sotto sostituisci your-hostname con il tuo hostname e thdns_xxxxxxxx con il tuo token.
Passaggi
- Installa ddns-scripts e luci-app-ddns, poi apri Services, poi Dynamic DNS in LuCI.
- Aggiungi un servizio, scegli -- custom -- come DDNS service provider e inserisci i valori qui sotto.
- Oppure modifica /etc/config/ddns con la configurazione qui sotto ed esegui: /etc/init.d/ddns restart
| Campo | Valore |
|---|---|
| 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'Dopo il salvataggio avvia un aggiornamento (o attendi qualche minuto) e controlla l'hostname nella dashboard. Se non funziona, consulta l'articolo sulla risoluzione dei problemi.