DNS recursion is enabled by default on your Linux Server with Parallels Plesk Panel. With recursion enabled, the DNS server queries other DNS servers on behalf of the requesting client to fully resolve the name, before sending the answer back to the requesting client. Since this setting can increase your vulnerability to a DNS amplification attack, you should disable this option on your server if your DNS server is not intended to receive recursive queries.

This article explains how to enable or disable DNS recursion on your Linux Server with Plesk Control Panel.

1)    Log in to Parallels Plesk Panel.

 

2)    Navigate to Tools & Settings and locate the DNS Template under the General Settings.

 

download__65_.png

3)    Click on DNS recursion settings.

download__66_.png

4)    Choose the required setting as explained below for your DNS recursion. The default setting is Localhost.

 

  • Any host allows internal and external DNS recursions.
  • Localnets allows the full subnet that your server’s IP address is located on. For example, if your server’s IP address is 111.222.1.85/24, your server will allow DNS recursion for all IP addresses between 111.222.1.0 to 111.222.1.255 and also 127.0.0.1 (localhost).
  • Localhost only allows the loopback IP address and also the server’s assigned IP address to use DNS recursion.

 

After making the necessary changes, you need to restart your DNS server to apply the changes.

5)    Click on Tools & Settings again and find Service Management within the Server Management section.

6)    Find DNS Server (BIND) under your Services and click on the yellow restart button.

 

download__67_.png

After following the instructions above, you should now have successfully changed the settings of your Bind Server’s DNS recursion via Parallels Plesk Panel.