To Disable Recursive DNS in the Parallels Plesk Panel
- Log in to the Parallels Plesk Panel as administrator.
- Click Tools & Settings.
- From the General Settings area, click DNS Template Settings.
- Click DNS Recursion.Select Localnets, and then click Ok.
For Windows Servers:
- Log in to your Server through a Remote Desktop Connection.
- From the Start menu, click Control Panel, Administrative Tools, then DNS.
- In the console tree, right-click the appropriate DNS server, and then click Properties.
- Click the Advanced tab.
- Under Server options, check Disable recursion, and then click OK.
- In the console tree, right-click the appropriate DNS server, and then click Clear Cache.
CentOS
# cd /etc # nano named.conf
Change this line
# recursion yes;
to
# recursion no;
Restart
# service named restart
Ubuntu
# nano /etc/bind/named.conf.options
Set up like this
// global options apply to external clients
options {
recursion no;
additional-from-auth no;
additional-from-cache no;
};
view "local" in {
// view options enable recursion only for local clients
match-clients { 172.16.45.80/23; 192.168.12.0/24; 127.0.0.1/8; ::1; };
recursion yes;
additional-from-auth yes;
additional-from-cache yes;
zone "." in {
type hint;
file "/etc/bind/db.root";
};
// put definitions for zones like "localhost" and "127.in-addr.arpa" here
}
// put definitions for real authoritative zones here.