I setup my pihole as DHCP a couple of weeks before and it works great.
But I have two questions maybe someone can help me with.
I didn’t find any topics regarding excactly this questions.
Dashboard and network tab show hostnames with “-2” at the end. These entrys are from my notebook which is online wired or wireless with the same hostname on different interfaces.
First hostname is correct but the same client on another interface is named “-2”.
Furthermore the same interface/MAC is shown with “unknown” as hostname in active leases.
When wireless interface is active the MAC of wired interface is show as “unknown” and the other way around.
Maybe this “unknown” thing is by design and I have to accept.
But what about the doubled hostnames in dashboard, network tab and query logs.
Is there any way to show the same hostname for different MAC?
I tried the following without success:
- Adding two dhcp-host entries to /etc/dnsmasq.d/04-pihole-static-dhcp.conf for both interfaces with the same name an omitted IP
- Changing name of the doubled hostname in the network table of “pihole-FTL.db”. After this names on the network tab are correct (as in DB) but the dashboard and query log keeps wrong
Any ideas on that?