How to close an open DNS resolver - Linux

How to close an open DNS resolver - Linux



Locate the BIND configuration file within the operating system. 
The BIND configuration file is usually located in one of the following paths:
 /etc/bind/named.conf 
/etc/named.conf 
Open the named.conf file in your preferred editor. 
Add the following details to the Options section: 
allow-transfer {"none";}; 
allow-recursion {"none";}; 
recursion no;
 Restart the service.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 206