Forked from diyism/replace dnsmasq-base with unbound.txt
Created
March 4, 2022 21:19
-
-
Save kittokin/d95d7ccfda0bc0782ade28eed10e2b28 to your computer and use it in GitHub Desktop.
replace dnsmasq-base with unbound
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#remove dnsmasq-base without removing network-manager, don't use "apt-get remove" | |
#but apt-get will be held, so need no do this line | |
sudo dpkg --remove --force-all dnsmasq-base | |
#kill dnsmasq to release the port 53 | |
sudo kill -SIGHUP $(cat /var/run/dnsmasq/dnsmasq.pid) | |
#confirm /etc/resolv.conf is: | |
nameserver 127.0.0.1 | |
sudo gedit /etc/NetworkManager/NetworkManager.conf | |
#replace: | |
dns=dnsmasq | |
#with: | |
dns=unbound | |
sudo apt-get install unbound | |
sudo gedit /etc/unbound/unbound.conf: | |
server: | |
#auto-trust-anchor-file: "/var/lib/unbound/root.key" | |
tcp-upstream: yes | |
forward-zone: | |
name: "." | |
forward-addr: 8.8.4.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment