How To Disable DNS Recursion On Your Dedicated Server

How To Disable DNS Recursion On Your Dedicated Server
 
Recursive DNS queries occur when information is requested from a DNS server that does not "own" a domain to query subsequent DNS servers until DNS information is found an answer is returned.
 
Servers with recursive DNS queries enabled are vulnerable to fake requests that can flood the server with the results of each  query, overwhelming the server with a volume of traffic too large to be processed, causing performance degradation. This is know as a DOS/DDOS (Denial of Service/Distributed Denial of Service) Attack.
 
To disable DNS Recursion on your dedicated server follow the steps below.
 
Using Plesk
 
Plesk 12.X
  1. Log in to Plesk as the Admin user.
  2. In the Server Management section, click on Tools & Settings.
  3. Under General Settings click DNS Template Settings.
  4. Click the DNS Recursion tab.
  5. Select the Allow for local requests only option.
  6. Click Set
 
Plesk 11.X
  1. Log in to Plesk as the Admin user.
  2. In the Server Management section, click on Tools & Settings.
  3. Under General Settings click DNS Template Settings.
  4. Click DNS Recursion.
  5. Select the Allow for local requests only option.
  6. Click Set.
Plesk 9.X
  1. Log in to Plesk as the Admin user.
  2. Click on Settings.
  3. Under the DNS area click on DNS Recursion Settings.
  4. Select the Allow for local requests only option.
  5. Click Set.
Using the Command Line
This option is only to be used if Plesk is not running on your server.
  1. Log in to your server as Administrator
  2. Open an elevated command prompt (Run as Administrator).
  3. Type the following command into the command prompt and press enter
     
    
     
    1. dnscmd /Config /NoRecursion 1 
 
 

Add Feedback