Ok, thanks, I fixed them. They look like this now:
environment:
TZ: America/New_York
PROXY_LOCATION: pihole
VIRTUAL_PORT: 80
PIHOLE_DNS_: 172.20.0.3#5053;172.20.0.3#5053
WEBPASSWORD: **************
ServerIP: 192.168.1.30
DNS_BOGUS_PRIV: 'TRUE'
DNS_FQDN_REQUIRED: 'TRUE'
DNSSEC: 'TRUE'
REV_SERVER: 'TRUE'
REV_SERVER_TARGET: 192.168.1.1
REV_SERVER_DOMAIN: b*******a.lan
REV_SERVER_CIDR: 192.168.1.0/24
TEMPERATUREUNIT: f
WEBUIBOXEDLAYOUT: boxed
Although that did not fix the issue. I did go into a newly spun up container and did check those variables and they were all good. I got the correct result; I checked all of the environmental variables shown above.
On another note, I forgot to include the actual results I got in terminal for the dig's I did after I spun up a new container with broken Conditional Forwarding. I did three local domains and all had results like this:
; <<>> DiG 9.10.6 <<>> @192.168.1.30 plex.b******a.lan
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 29631
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;plex.b*******a.lan. IN A
;; AUTHORITY SECTION:
. 1800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2021022400 1800 900 604800 86400
;; Query time: 97 msec
;; SERVER: 192.168.1.30#53(192.168.1.30)
;; WHEN: Wed Feb 24 07:16:38 EST 2021
;; MSG SIZE rcvd: 122
I will try again to capture the logs... I'm not sure what the best way is to do it. Can I just send the whole damn log? On a new container it shouldn't be that big.
Edit: I DM'd you the logs since I had to look at them first to find the queries.
Edit 2: So I found that in the BEFORE/BROKEN the queries are going to 172.20.0.3 (cloudflared container) which is not correct, and in the AFTER/WORKING they are going to 192.168.1.1 (my router) which is correct. So I guess that's a clue, question is why. The env variables are supplied in the docker-compose and they are shown in the UI and the variables themselves are populated with the correct info right after a fresh container spin up.