How do I disable recursive DNS queries on my Windows dedicated or virtual dedicated server with Plesk?
Last Updated:
April 17, 2006 4:54 PM
For information on recursive DNS, see What risks are associated with recursive DNS queries?.
NOTE: To peform this procedure, you must be a member of your local computer's Administrators group or have the proper authority delegated to you.
To Disable Recursive DNS
- Log in to your dedicated or virtual dedicated server.
- From the Start menu, click Run....
- If you are running Windows dedicated hosting with Plesk, type the following command in the Open: textbox and press Enter:
notepad "C:\Program Files\SWsoft\Plesk\dns\etc\named.conf"notepad "C:\SWSoft\Plesk\dns\etc\named.conf"
- Modify the file so that one and only one "options" instruction exists. It should look like the one below:
options { allow-recursion {localnets; }; };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 namednet start named
