Hello
I installed pihole on a bare metal debian 12 host. I configured a static DHCP lease configuration. When the hosts requests it's ip the hostname is set wrong. The setting from the static lease config is ignored. Do i miss something?
Take the Shelly device off the network, hit the bin icon to delete the tasmota-shelly2-4968 entry, then rejoin the Shelly device to network so the DHCP server can respond to it with no existing dormant lease in the table. Does that fix the entry?
From your description I'm not sure if it's been done in that order and not worked, or done in a different order which has allowed the original hostname to remain present. I had the same situation with a friend of mine. We went through dozens of entries cleaning up the names, to account for everything on his network.
Thats not a "self generated one" I believe.
Thats most likely the hostname thats advertised by the client (set on the client itself) during the DHCP lease transaction.
You can see what names are advertised by your DHCP clients with below (hakpc in below example):
You can trigger any DHCP client to advertising its hostname by dis and reconnecting it from/to network.
Do mind though that not all devices are configured to advertise their own hostname!