How to avoid tracing local devices discover query?

I've something in my pc that every single second of its life is throwing a query to

stampante_hp.homenet.telecomitalia.it 

where

homenet.telecomitalia.it 

is the network name of my home router, while

stampante_hp

is the name of my HP printer. I gave it a static address in my router's DHCP like all other devices I've in the home.

I have no idea of what is pinging so frequently this device .. but my question here is how to avoid that my pc ask to pihole about this name.

My pihole is NOT at my home, it's in a private server. (NOT published, and NOT with port 53 or 5353 opened).

In the DNS tab of the Settings page, I setup Local domain name as homenet.telecomitalia.it, but it doesn't change anything.

Must I set 192.168.1.1 as my router ip even if I am using a remote dns and not a local one?

You can stop this request from ever leaving your PC by mapping that domain in the PC hosts file to 0.0.0.0.

That may break the connectivity to the printer, however.

I would uninstall the printer, then reinstall the printer on the PC, and if the behavior persists then block that domain on the PC.

1 Like

Thanks.

Do you think is some sort of malware?

I thought to map to real static address of the printer.

I am also googling to understand how to detect which process is doing this

I doubt it. Sometimes when software can't communicate, it goes into hyper mode with requests.

1 Like

If those queries are coming from one of your PC's, you can avoid your PC querying Pi-hole by putting the HP printer name "stampante_hp.homenet.telecomitalia.it" and actual IP in the PC's local hosts file.
This hosts file is called on first before any DNS queries are made.
For Linux based systems, its located here:

/etc/hosts

For Windows based systems:

C:\Windows\System32\drivers\etc\hosts

Just add a line at end of file with the IP and hostname.

2 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.