Configurare OPNsense / pfSense con Shift DNS
November 19, 2026
Passo dopo passo: fai aggiornare automaticamente il tuo hostname Shift DNS da OPNsense / pfSense.
Entrambi i firewall hanno un client DNS dinamico integrato. I nomi dei campi cambiano leggermente; qui trovi entrambi.
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
- OPNsense: apri Services, poi Dynamic DNS, e aggiungi una voce con i valori della prima tabella.
- pfSense: apri Services, poi Dynamic DNS, poi la scheda Dynamic DNS Clients, e aggiungi una voce con i valori della seconda tabella.
- Salva e applica le modifiche.
| Campo | Valore |
|---|---|
| OPNsense: Service | Custom |
| OPNsense: Protocol | dyndns2 |
| OPNsense: Server | api.shiftdns.thunderhosting.com |
| OPNsense: Username | your-hostname |
| OPNsense: Password | thdns_xxxxxxxx |
| OPNsense: Hostname(s) | your-hostname |
| OPNsense: Check ip method | Interface [default] |
| OPNsense: Force SSL | ✓ |
| pfSense: Service Type | Custom |
| pfSense: Interface to monitor | WAN |
| pfSense: Hostname | your-hostname |
| pfSense: Username | your-hostname |
| pfSense: Password | thdns_xxxxxxxx |
| pfSense: Update URL | https://api.shiftdns.thunderhosting.com/nic/update?hostname=%HOSTNAME%&myip=%IP% |
| pfSense: Result Match | good|nochg |
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.