After following these instructions to serve a site containing my wpad file, I get a PiHole message that the site is blocked because it isn't listed in any blacklist.
When I whitelist the domain I get a PiHole message just saying access has been denied.
Technical info on the page says it is in 1 of 4 lists, and then says [π].
Query lists shows the site is only in Exact whitelist.
What is going wrong here?
In the query logs and using dig
I can see the hostname is being resolved successfully by pihole and the correct result returned to the client. lighttpd is serving the Website blocked page when it receives a request for anything other than pihole or pi.hole.
Here is my external.conf file:
$HTTP["host"] == "wpad.home.arpa" {
server.document-root = "/var/www/wpad/"
mimetype.assign = ( ".dat" => "application/x-ns-proxy-autoconfig",
".html" => "text/html" )
index-file.names = ( "index.html")
}
All restarts of lighttpd have been done etc. Is it possible that lighty-enable-mod simple-vhost
is not enabling vhosts?