No Reverse Lookup/Cannot Resolve Local Addresses, Not Using Pihole DHCP. Need Solution

Like many others, I am not using Pi-hole as my DHCP server, as the functionality is too basic. Due to this I believe, reverse lookups do not work and the dashboard only shows IP addresses. I want to resolve this.

I am using Docker. My volumes are:

Host/volume	Path in container
/volume2/docker/Pihole/dnsmasq.d	/etc/dnsmasq.d
/volume2/docker/Pihole/pihole	/etc/pihole

I have created a hosts file in the format "[IP Address][space][Hostname]"
I saved the file here: \[server]\Docker\Pihole\hosts

That did not work.

So I then tried creating \DS1821\Docker\Pihole\dnsmasq.d\02-lan.conf
which contains addn-hosts=/etc/lan.list
and then copying the hosts file to \DS1821\Docker\Pihole\lan.list

That also did not work.

When googling this question, there are literally thousands of people looking for the same answer. There are also dozens of different solutions, many not supported or related to editing volatile files. It is a very frustrating process and I have been trying to find a solution for weeks now.

Any help appreciated.

Use Local DNS records or try enabling Conditional Forwarding via Settings | DNS. The latter will only work if your router is distributing Pi-hole as local DNS server via its DHCP server.