How to prevent open DNS resolver by setting up Windows Firewall?

If Windows 7 runs open DNS resolver, we can avoid it by setting up Windows firewall. Please follow these steps.

  • Open Control Panel,click “System and Security”,and then click “Windows Firewall”. In the left pane, click “Advanced settings”.


  • In the Windows Firewall with Advanced Security dialog box, and then set up step by step.
  1. In the left pane, click Inbound Rules.
  2. In the right pane, click New Rule.


  • On the Rule Type page of the New Inbound Rule Wizard,
  1. Click Port
  2. Click Next


  1. On the Protocol and Ports page, Click UDP.
  2. Click Specific Local Ports
  3. Type 53 in the text box
  4. Click Next


  1. On the Action page, select Block the connection.
  2. Click Next to continue


  1. Select all the profiles available for different type of connections (Domain, Private and Public).
  2. Click Next


  1. Give a name of the rule, Let me use “DNS_resolver” for example.
  2. You can add description to the new rule (optional)
  3. Click Finish


  • Check the rule name appearing in Inbound Rules or not. Click OK, and finish the setting.