Install DNS Server Unbound on Kali Linux

Install DNS Server Unbound on Kali Linux

147 Lượt nghe
Install DNS Server Unbound on Kali Linux
Hi, In this video we show how to install a #DNS server in #KaliLinux. While this was not part of our #Comptia 1101 exam objective 2.6, it does relate. This install provides more #privacy, #security and #control . You can use this for a lot of things such as blocking a 3rd party DNS server logging your information for domain name request. It has security implications; it adds a layer of security for firewalls. This here can be used as an #adblocker . There is a lot of ways you can use this technology. The magic in this is in the configuration, the better and more you understand the #configuartion file the better, you have control. We had about for better or for worse about 6-8 hours of technical support to just get the baseline code. If you don't believe run chat gpt and or gemini and try to search for installing unbound on kali linux. We went through that process already and we found a decent formula even if you google it, a lot of people are forwarding the dns request which DEFEATS THE WHOLE PURPOSE OF RUNNING A LOCAL DNS SERVER (or at least one of them), I almost lost my **** when people were charging $6 a month yet what they claimed was the total opposite of what it was supposed to do. I am not perfect, I could be wrong if I am wrong let me know in the comments below so we can fix it, but I believe we have the correct script to run locally, and use Unbound the way it was intended. Nonetheless, the purpose of this video was to demonstrate how to run a DNS server locally for better privacy, security and control. #Install #DNS #Server #Unbound on #kalilinux Here is the script: (please watch the video to learn how to use it) sudo apt update sudo apt upgrade sudo apt install unbound sudo nano /etc/unbound/unbound.conf #Key Config File server: verbosity: 1 interface: 0.0.0.0 access-control: 127.0.0.1/8 allow access-control: 192.168.1.0/24 allow do-not-query-localhost: no hide-identity: yes hide-version: yes sudo systemctl enable unbound sudo systemctl status unbound ########################################### # i had an issue solved it via sudo nano /etc/default/unbound #add DAEMON_OPTS="" #save and exit #### check to see if ubound is being used cat /etc/resolv.conf sudo nano/etc/resolv.conf nameserver 127.0.0.1 sudo chattr +i /etc/resolv.conf #flush DNS cache sudo systemctl restart unbound sudo systemd-resolve --flush-caches ########################## #trouble shooting sudo netstat -tulnp | grep :53 sudo systemctl status unbound dig google.com @127.0.0.1 #how to block a website example local-zone: "google.com." static local-data: "google.com A 0.0.0.0"