To disable recursive DNS queries follow these steps.
Log into Plesk control panel on your dedicated or cloud server.
- Go to Tools and Utilities > General Settings: DNS Template > DNS Recursion tab.
- Switch the recursion setting to Deny and click the Set button.
To allow localhost queries, follow these steps:
- Log in to the Plesk server as the administrator.
- Open the file %plesk_dir%\dns\etc\named.user.conf for editing.
- Set the following entry:
- allow-recursion {localhost; };
- 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.