Configuration du service resolvconf sous Ubuntu pour la résolution DNS

De www.yakakliker.org

Installation de resolvconf

sudo apt update
sudo apt upgrade
sudo apt install resolvconf

Configuration du service resolvconf

sudo systemctl start resolvconf.service
sudo systemctl enable resolvconf.service
sudo systemctl status resolvconf.service

Configuration des redirecteurs DNS

sudo nano /etc/resolvconf/resolv.conf.d/head
nameserver 9.9.9.9
nameserver 149.112.112.112

Activation des mises à jours automatiques

sudo resolvconf --enable-updates
sudo resolvconf -u

Redémarrage des services resolvconf

sudo systemctl restart resolvconf.service
sudo systemctl restart systemd-resolved.service

Vérification

resolvectl status

Liens

https://www.ionos.com/digitalguide/server/configuration/change-dns-server-on-ubuntu/#:~:text=Using%20Ubuntu%20with%20a%20graphical,up%20in%20the%20appropriate%20format.

compteur web gratuit sans pub