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.


  1. In the left pane, click Inbound Rules.
  2. In the right pane, click New Rule.


  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