Sorry, not trying to derail the support thread. Last night I went ahead and tried out AGH installation. Here's a few things I noticed during the set-up process:
1. I started by uninstalling dns-crypt proxy, and I installed the Unbound UI that you linked
here.
- This caused DNS to break. I'm not sure if it's because Unbound was listening on port 53535, and the UI installer changes that to a different port by default. I tried your recommendation "Port 53535 may be different with @dave14305 port number which can be cleanly modified from Unbound-Merlin-UI. Please adapt port according to what your unbound port is actually set to." and went to the Unbound UI and changed the port back to 53535 and did a reboot. But DNS still wasn't working. Uninstalling Unbound and re-installing it fixed that issue. I only installed Unbound and none of the add-ons.
2. I installed AGH and logged into the web interface to take a look at the settings. Under the Encryption Settings, It looks like DoT and DoH are not configured by default and require you to supply your own certificates. I don't own a domain so I don't think I can get a free certificate from Let's Encrypt. My router does have a certificate from Let's Encrypt because I use the Dynamic DNS feature, but that certificate is only good for about 90 days I think. So where would we get certificates to use to set up encryption to get DoT and DoH working? Is this setting required only if I want https for the web GUI to work, and I can set up DoT and DoH by using these in the "Upstream DNS servers" setting?
- tls://dns-unfiltered.adguard.com: encrypted DNS-over-TLS.
- https://cloudflare-dns.com/dns-query: encrypted DNS-over-HTTPS.
- quic://dns-unfiltered.adguard.com:784: experimental DNS-over-QUIC support.
I don't think I fully understand the set-up process. I read over the installation guide you posted
here (I installed through AMTM though).
Here is the current WAN DNS settings in the Router GUI. I'm not sure if these should be changed? Possibly pointing the router to use AGH as the DNS server?
View attachment 44726
And here is the upstream DNS setting in AGH. I set 9.9.9.9 and 1.1.1.1 during the AGH installation:
View attachment 44727
Should I remove the last 4 lines for 9.9.9.9 and 1.1.1.1 and add what you have in the guide for 127.0.0.1:53535 and tcp://127.0.0.1:53535? 9.9.9.9 and 1.1.1.1 are already added to AGH GUI under the "Bootstrap DNS servers" section.
For the DNS caching settings, there is nothing set by default. It seems like maybe I should just uninstall Unbound and use these settings. What is the recommended settings here for Cache size and TTL?
View attachment 44728
Sorry for my confusion. There just seems to be so many different places to change settings relating to DNS, both in the Router GUI and in the AGH GUI.