Posts

Install and run simple Unbound Server on RHEL 8

Unbound is a DNS server that is considered as the optimal choice for small labs and environments. Here we will know how to install and use Unbound DNS server on RHEL 8 machine. Lab configuration: Server IP address 192.168.1.4 Desktop IPv4 address: 192.168.1.5 IPv4 DNS: 192.168.1.4 Server Configuration: Make sure that the dnsmasq service is not running or any other service that might be using port number 53. Otherwise, you will need to configure the unbound server to use another port systemctl status dnsmasq.service systemctl disable --now dnsmasq.service netstat -pntlu | grep 53 Install the unbound package  yum install unbound yum enable --now unbound Configure the unbound server vi /etc/unbound/unbound.conf Uncomment the interface lines for IPv4 and IPv6 to allow the DNS server to receive DNS requests on all interfaces  interface 0.0.0.0 interface ::0 Uncomment access-control to allow all networks that are allowed to send our DNS server requests access-control: 127.0.0.1/8 allow acces