The list is being loaded:
[i] Target: local (default.list)
[✓] Status: Retrieval successful
Now when I try to open the blocked domain I get an error: [ERROR]: Unable to parse results from queryads.php: Unhandled error message (7 (no associated adlists URL found))
The log
Jul 3 13:04:05 dnsmasq[439]: 50 127.0.0.1/35023 query[A] diginc-pi-hole1 from 127.0.0.1
Jul 3 13:04:05 dnsmasq[439]: 50 127.0.0.1/35023 /etc/pihole/local.list diginc-pi-hole1 is 192.168.0.5
Jul 3 13:04:05 dnsmasq[439]: 51 127.0.0.1/35023 query[AAAA] diginc-pi-hole1 from 127.0.0.1
My second try was to put the file on a server and let Pi-hole download the list:
Ok I think I resolved this, it seems I had a block list specified that was not in the right format. It was messing pihole up quite a bit. Once I removed it, it seems to work ok again.
But if this would here be the case, then loading my list from a server should produce the same error as loading from a local folder. But this is not the case.
root@diginc-pi-hole1:/# pihole -q x1.com
Match found in list.0.raw.githubusercontent.com.domains:
t.mdn2015x1.com
c.flx1.com
0azx1.com
Match found in list.1.mirror1.malwaredomains.com.domains:
netflixuser-support.validate-user.activation.safeguard.key.1uh3.verify-netflix1.com
verify-netflix1.com
Match found in list.2.sysctl.org.domains:
c.flx1.com
p.pxl2015x1.com
Match found in list.6.hosts-file.net.domains:
p.pxl2015x1.com
t.mdn2015x1.com
www.adx1.com
Match found in list.7.local.domains:
www.x1.com
root@diginc-pi-hole1:/# pihole -q x1.com -bp
[i] No exact results found for x1.com found within block lists
and
root@diginc-pi-hole1:/# curl "http://127.0.0.1/admin/scripts/pi-hole/php/queryads.php?domain=x1.com&bp"
data: [i] No exact results found for x1.com found within block lists
data:
data:
I've put the url in double quotes. Without double quotes the output is different:
root@diginc-pi-hole1:/# curl http://127.0.0.1/admin/scripts/pi-hole/php/queryads.php?domain=x1.com&bp
[1] 7379
bash: bp: command not found
root@diginc-pi-hole1:/# data: Match found in list.0.raw.githubusercontent.com.domains:
data:
data: t.mdn2015x1.com
data:
data: c.flx1.com
data:
data: 0azx1.com
data:
data: Match found in list.1.mirror1.malwaredomains.com.domains:
data:
data: netflixuser-support.validate-user.activation.safeguard.key.1uh3.verify-netflix1.com
data:
data: verify-netflix1.com
data:
data: Match found in list.2.sysctl.org.domains:
data:
data: c.flx1.com
data:
data: p.pxl2015x1.com
data:
data: Match found in list.6.hosts-file.net.domains:
data:
data: p.pxl2015x1.com
data:
data: t.mdn2015x1.com
data:
data: www.adx1.com
data:
data: Match found in list.7.local.domains:
data:
data: www.x1.com
data:
data:
root@diginc-pi-hole1:/#
No, I'm just using IPv4. IPv6 is deactivated on my machine.
My ISP is giving me an IPv4 too.
Edit:
I've investigated the problem further.
Adding example.com to my blacklist works perfectly (local file / remote file).
So there seems to be a bug (?) which causes pihole to produce this error only for certain domains - like x1.com