I successfully installed and run pi-hole in container right on router (hAP ac3). Now I would like to add NextDNS as upstream in my pi-hole. However when I set IP adresses from NextDNS to custom IPv4 1 and 2, I cannot load any webpage. Query log in pihole writes "sent to dns2.nextdns.io#53", also log in NextDNS is filled with queries, but my browser shows nothing.
Similar story is when I try use NextDNS guide to set up MikroTik with DoH and then pi-hole is not set as DNS server. I cannot load any page, but query log is filled just fine.
So I guess problem is in firewall or any other setting that I configured for docker (I followed exactly this tutorial for set up container with pi-hole). My firewall config is here :
My knowledge in change settings here is limited. Maybe it is not even problem in firewall. I'll be glad for any advice. Thanks.