Please follow the below template, it will help us to help you!
Expected Behaviour:
If I set the custom DNS address 1 as 127.0.0.1#5353 it should stick, but it is not.
Actual Behaviour:
After I make the change in setupvars.conf, and then run pihole -r, DNS 1 reverts to 1.1.1.1
Debug Token:
2byghi3fiw
I installed unbound and am trying to use it as a recursive DNS resolver. I had difficulty (as noted on other posts and pages) assigning Custom 1 (IPv4) in the admin web page for this PiHole. I made the change in "setupVars.conf" to the following:
PIHOLE_DNS_1=127.0.0.1#5353
When I restart PiHole (pihole -r), this reverts to 1.1.1.1 in the setupVars.conf file. The PiHole continues to operate, but it's not clear that it's using the unbound resolver.
In the admin console, when I tail the pihole.log, I see that DNS requests are being routed to 1.1.1.1.
What am I missing here? From the command line tests I have run, it seems that unbound is working properly, but PiHole is not routing it's DNS requests to unbound via the 127.0.0.1#5353 address.
Thanks in advance.
i'm new to PiHole and haven't programmed in about 30 years, so be gentle with me.