How do I disable recursive DNS queries on my Windows server with Parallels Plesk Panel?
For information on recursive DNS, see What risks are associated with recursive DNS queries?.
To Disable Recursive DNS
- Log in to Parallels Plesk Panel as admin.
- On the left hand side under the System Group Click Server.
- In the main panel under the Services heading select DNS Settings.
- Select the DNS Recursion Tab.
- Place the dot next to the Deny.
- Click the Set button.
If making this modification in Plesk does not disable Recursive DNS or you do not have the options in Parallels Plesk Panel you will need to follow the manual update path below:
NOTE: To perform this procedure, you must be a member of your local computer's Administrators group or have the proper authority delegated to you.
- Log in to your dedicated or Virtual Private Server (VPS).
- From the Start menu, click Run.
- If you are running Windows dedicated hosting with Parallels Plesk Panel, type the following command in the Open: textbox and press Enter:
notepad "%plesk_dir%dns\etc\named.user.conf" - Modify the file so that one and only one "options" instruction exists. It should look like the one below:
options { allow-recursion {localhost; }; };
Add the instruction if one does not exist or remove duplicate instructions. - Save and close the file.
- From the Start menu, click Run.
- Type
cmd
and press Enter. - From the command prompt, type the following commands and press Enter after each:
net stop named
net start named