HowTo Slackware

Configurare DNS client (resolv.conf e nsswitch)

Risoluzione DNS stabile e prevedibile.

1. resolv.conf

Esempio:

nameserver 1.1.1.1
nameserver 8.8.8.8

2. nsswitch

Verifica ordine in /etc/nsswitch.conf (hosts: files dns).

3. Test

getent hosts example.com

4. Verifica

Controlla /etc/hosts per override locali.

Checklist rapida

[ ] Passi completati
[ ] Config aggiornata
[ ] Servizio testato
[ ] Riavvio/rollback pronto
[ ] Log verificati

Torna alla sezione HowTo Linux