Come configurare OpenDNS o Google DNS su Fedora / RHEL
I sistemi Fedora e della famiglia RHEL usano tipicamente NetworkManager più systemd-resolved.
Perché cambiare il DNS su Fedora?
Un DNS personalizzato evita resolver ISP captive o filtrati che rompono solo alcuni domini.
Server DNS pubblici consigliati
- OpenDNS (Cisco): 208.67.222.222 / 208.67.220.220
- Google Public DNS: 8.8.8.8 / 8.8.4.4
- Cloudflare DNS: 1.1.1.1 / 1.0.0.1
Configurare il DNS
- Apri Impostazioni → Rete e modifica il profilo cablato o Wi‑Fi attivo.
- Su IPv4, disattiva il DNS automatico se presente e aggiungi 8.8.8.8 e 8.8.4.4 (o indirizzi OpenDNS).
- Applica e riconnettiti.
- Alternativa CLI: sudo nmcli connection modify "CONNECTION_NAME" ipv4.dns "208.67.222.222 208.67.220.220" ipv4.ignore-auto-dns yes
- Porta di nuovo su la connessione con nmcli connection up "CONNECTION_NAME".
Svuotare le cache
Cancella systemd-resolved dopo la modifica.
sudo resolvectl flush-caches
- Esegui sudo resolvectl flush-caches
- Opzionalmente riavvia NetworkManager: sudo systemctl restart NetworkManager
- Prova con curl -I https://example.com
Verifica che abbia funzionato
Conferma i server DNS con nmcli connection show "CONNECTION_NAME" | grep ipv4.dns.
Guide DNS correlate
- Come configurare OpenDNS o Google DNS su Windows 11
- Come configurare OpenDNS o Google DNS su Windows 10
- Come configurare OpenDNS o Google DNS su Windows 8
- Come configurare OpenDNS o Google DNS su Windows 7
- Come configurare OpenDNS o Google DNS su Windows Vista
- Come configurare OpenDNS o Google DNS su Windows XP
- Come configurare OpenDNS o Google DNS su macOS
- Come configurare OpenDNS o Google DNS su Ubuntu / Debian
- Come configurare OpenDNS o Google DNS su Android
- Come configurare OpenDNS o Google DNS su iPhone e iPad
- Come configurare OpenDNS o Google DNS su ChromeOS
- Come configurare OpenDNS o Google DNS sul router