FlowAlp

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

  1. Installa ddns-scripts e luci-app-ddns, poi apri Services, poi Dynamic DNS in LuCI.
  2. Aggiungi un servizio, scegli -- custom -- come DDNS service provider e inserisci i valori qui sotto.
  3. Oppure modifica /etc/config/ddns con la configurazione qui sotto ed esegui: /etc/init.d/ddns restart
CampoValore
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'

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.