To disable recursive DNS queries follow these steps.

Log into Plesk control panel on your dedicated or cloud server.

  1. Go to Tools and Utilities > General Settings: DNS Template > DNS Recursion tab.
  2. Switch the recursion setting to Deny and click the Set button.

To allow localhost queries, follow these steps:

  1. Log in to the Plesk server as the administrator.
  2. Open the file %plesk_dir%\dns\etc\named.user.conf for editing.
  3. Set the following entry:
  4. allow-recursion  {localhost; };
  5. Restart the DNS server. If he Microsoft DNS server is used, the Deny option cannot be selected. Select Allow for local requests only, or switch the DNS server to the BIND DNS server on Tools & Settings > Server Components.

Leave a Reply

Your email address will not be published. Required fields are marked *