Expected Behaviour:
I am running Pi-hole version 5 (hostname: server2.xxxxxxxxx.com, IP: 172.16.100.203) on a robust desktop PC with Ubuntu OS. My network is managed by pfSense as the router, with HAProxy (IP: 172.16.100.1) configured as the reverse proxy. The IP for server2.xxxxxxxxx.com has been added to Pi-hole's local DNS records, enabling secure access via Let's Encrypt certificates. I am able to successfully resolve server2.xxxxxxxxx.com to 172.16.100.1 and also utilize Let's Encrypt issued certificate when accessing the Pihole Admin page.
Actual Behaviour:
After the upgrade to v6, server2.xxxxxxxxx.com is now resolving to 172.16.100.203 and longer resolving to 172.16.100.1 (reverse proxy) and also presented with a self-signed cert when accessing the admin page.
Thanks. I can simply create an entry (172.16.100.1 server2.xxxxxxxxx.com) to the host file on the computer I am going to be using to manage Pi-Hole and problem will be solved. However, we're in the 21st century defeats the purpose of using a DNS server.
Can I put this in NGINX PROXY MANAGER? Or should I change something? I ask because I tried to put these settings in the advanced tab, but it only generated errors.