BIND9
Make sure the Bind is running with non-root account
Set Proper Permissions and Ownership
Change / Remote Version Banner
Edit using VI, the file /etc/bind/named.conf.options
and add the following settings under the βOptionsβ
section:
Add the line below to replace DNS version banner:
In order to test, run the command below:
Set Query & zone transfer Restrictions
Edit using VI, the file /etc/bind/named.conf.options and add the following settings under the βOptionsβ section:
Add the line below to restrict recursive queries to trusted clients:
Replace 192.168.0.0/24 with the trusted internal segments and subnet mask.
In-order to test, run the command below:
Add the line below to restrict query origins to trusted clients:
Replace 192.168.0.0/24 with the trusted internal segments and subnet mask.
Add the line below to Nameserver ID:
Add the line below to restrict which hosts can perform zone transfers:
Replace 192.168.1.1 with the trusted DNS server.
Add the line below to restrict the DNS server to listen to specific interfaces:
Replace 192.168.1.1 with the IP address of the DNS server.
Restart the DNS daemon:
Setup DNSSEC
Last updated