Pi.hole ip address

I run pihole on two systems for redundancy. These systems also run bind/named (master and slave) for dns and ISC dhcpd server for dhcp addresses (primary and secondary).

In the "TOP Clients" section of the Pihole admin dashboard some Requests have a Request number for ip address "pi-hole". Using nslookup I can see an address for pi-hole" has been created by pihole which jumps around from one pihole server ip address to the other. How do I stop this pihole behaviour by modifing pihole. I just want to see Request totals against the "real" ip addresses and no "pi-hole" address resolvable?

For Pi-hole to work properly, your servers hosting Pi-hole need to be configured with a static IP at the OS level. This way the IP does not change, and is not dependent on your DHCP server.

With two systems handling DNS, you have no real control over which of your two Pi-hole instances gets used by a particular client, or which IP will appear as the client, depending on your network setup.

It will be one of these configuration options depending on what you'd like to have happen.

Hi nosugref42 The pihole servers do have full static addresses and do not use dhcp to request an address. Their ip addresses do not change. I don't care which pihole server responds to a client dns query. I just want the dashboard to total request numbers using their real addresses so I can determine accurate request numbers for each. Just seen DanSchaper has the answer to solve my problem.

Wonderful - thanks Dan. Made the change on each, restarted pihole and it is fixed. Appreciated.

1 Like

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