I want to publish the auto-discovery wpad record for any domain the client is in, without having to declare those domains in my DNS server.
Is it possible to define a record for any domain. Such that these requests will all return the same IP:
- wpad.guest.local
- wpad.
- wpad.local
- wpad.google.com
- wpad.myenterprise.ad.domain.com
What I do today is I define a default record like in Configure DNS server to return same IP for all domains.
You can use the $include directive on all your domains.
wpad.inc:
And in all your zones: