WindowsServer

DNS – Remove WPAD Filtering

When you want to deploy an autodiscover proxy configuration for your clients, you can use WPAD with DNS.
However Windows Server DNS can reply non-existent domain for an wpad domain name request.

DNS WPAD Filtering

WPAD record in DNS


DNS WPAD Filtering

Non Existant domain


This behavior is by default and can be decomposed in two parts:

  • If WPAD configuration is already in place when you install the DNS server, no action is required.
  • When you want to set up a new WPAD configuration after DNS installation, you need to edit the block list on all your DNS servers.

Query status

Before to modify anything, you can check if the Global Block list is enabled on your DNS server:

dnscmd /info /enableglobalqueryblocklist
WPAD DNS Filtering

Query block list

Hostname filtered

If you want to display all records in the block list:

dnscmd /info /globalqueryblocklist

DNS WPAD Filtering

globalqueryblocklist


By default, two hostnames are blocked by DNS: wpad and isatap.

Disable WPAD filtering

To disable the Global Block list on your DNS server:

dnscmd /config /enableglobalqueryblocklist 0

DNs WPAD filtering

Disable Global Block List


And tada! you can now resolve the wpad record:
DNS WPAD Filtering

WPAD hostname

More

You can find more information about DNS Filtering here

Share

Leave a Reply

Your email address will not be published. Required fields are marked *