r/pihole•
oophe

Pihole blocking messages from Windows hosts to printer

Hi all. When I look at my top blocked domains my Ricoh printer is number 1 in the list. This does not make sense to me:

2020-12-01 09:12:45	A	printer.lan	some_client.lan	Blocked (regex blacklist)	NXDOMAIN (0.0ms)	

The client varies (all local Windows machines) and I've never set a rule for this. Can I simply whitelist this?

Posted Dec 1, 2020, 8:16 AM UTC

113
jfb-pihole:pihole: Team - Support / Moderator•

I’ve never set a rule for this.

All regex are manually added by the user.

Please generate a debug log, upload it when prompted and post the token here.

4
oopheOP•

1erue71tmg

I checked blacklist management, there's nothing there referring to my printer or my lan.

1
jfb-pihole:pihole: Team - Support / Moderator•

You have zero regex filters in your Pi-hole. Look in /var/log/pihole.log for any queries for this domain, and post the lines that contain the query, the forward and the reply.

1
oopheOP•

This is all I see, repeated throughout te log file.

Dec  3 09:25:43 dnsmasq[668]: query[A] printer.lan from 192.168.1.191
Dec  3 09:25:43 dnsmasq[668]: config printer.lan is NXDOMAIN

Edit: the printer is switched off most of the time so its name can't be resolved. The printer has a static DHCP lease in the pihole dhcp server, the hostname is "printer".

1
jfb-pihole:pihole: Team - Support / Moderator•

The printer does not need to be turned on for its IP address and domain to be known.

Also, printer and printer.lan are different domains. Only printer is associated with that IP.

1
Buzzkill1386•

Were you able to resolve this?? i am facing a similar issue..

1
oopheOP•

Thanks for reminding me :) I'll check some stuff and see if I made a mistake, if so I'll report back. If not, I'll submit a debug log

1
DSMars•

I noticed this as well last night, but in my case it's a hostname for a Docker Image

​

No Manual regex has been created and I have clicked Whitelist but the issue remains.

​

No other docker images are causing this issue, even ones on the same Docker Network as this one so I haven't worked out yet what is causing this I am on versions:

​

Pi-hole V5.2

Web Interface V5.2

FTL V5.3.1

​

I noticed this after the update, I think it was Saturday night I applied it. I checked Grafana as I keep 7 days of history and I can see it went from 13% to 54% where it has remained this started after the update was completed.

​

PiHole.log is showing

Dec 2 20:45:39 dnsmasq[26816]: query[AAAA] kapacitor.lan from IP

Dec 2 20:45:39 dnsmasq[26816]: config kapacitor.lan is NXDOMAIN

Dec 2 20:45:39 dnsmasq[26816]: query[A] kapacitor.lan from IP

Dec 2 20:45:39 dnsmasq[26816]: config kapacitor.lan is NXDOMAIN

​

Not sure if I should try and downgrade to see if that fixes it.

1
DSMars•

u/oophe I think I have found a workaround under local DNS menu I went into DNS Records and added a entry for kapacitor.lan pointing to the correct IP and the blocks are slowly going down I am down 20% to 34% after 12 hours.

Not ideal but if it works....

1
oopheOP•

Thanks, I'll try that.

1