Jump to content

Settings DNS Resolve di Linux

From Wiki
Revision as of 06:55, 31 October 2021 by Kangtain (talk | contribs) (Created page with "* Check to see if resolvconf is installed. sudo systemctl status resolvconf.service * Install resolveconf package. sudo apt update sudo apt install resolvconf * Confirm...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Check to see if resolvconf is installed.
sudo systemctl status resolvconf.service
  • Install resolveconf package.
sudo apt update
sudo apt install resolvconf
  • Confirm resolveconf is running.
sudo systemctl status resolvconf.service
  • If resolveconf isn't running, enable then start it.
sudo systemctl enable resolvconf.service
sudo systemctl start resolvconf.service
  • Check resolveconf status.
sudo systemctl status resolvconf.service
  • Edit the head file.
sudo nano /etc/resolvconf/resolv.conf.d/head
  • Enter your nameservers below the comments.
nameserver 8.8.8.8
nameserver 8.8.4.4
  • Update resolve.conf file.
sudo resolvconf --enable-updates
sudo resolvconf -u
  • Check if changes we successful.
sudo nano /etc/resolv.conf

Terkait