help setting up DoT with Unbound and Adguard

Started by apoorva, April 01, 2022, 06:31:31 PM

Previous topic - Next topic
hello all. looking for some help with setting up DoT with unbound and Adguard. I followed the Adguard setup thread and have that working but can't seem to get DoT figured out. seems it should be adguard->unbound->dot to cloudflare? any help would be appreciated. thank you!

Have you put an entry in the DoT section of Unbound for cloudflare?

yes, I have follow the below guide but once I have it setup I can not resolve any addresses. i thought impossibly had something to do with using adguard plugin since it isn't used/mentioned in the guide.

https://homenetworkguy.com/how-to/configure-dns-over-tls-unbound-opnsense/

The two setups are different. The link you provided is to simply have Unbound use DoT when it goes out to get answers to your client's queries. No adguard.
Describe the setup you have as you want it as end result, ie with or without Adguard and what settings you have in all the different parts.

i have unbound listening on 5353 and adguard on 53 with upstream dns as localhost:53.  everything works great right now.

i would like to use DoT but when i added entries in the DoT Section of Unbound using Cloudflare per the guide i lose the ability to resolve.

If you have unbound listening on 5353 and adguard on 53 with upstream dns as localhost:53 then they're unconnected so it's unclear from your short sentences what is talking to what i.e. your clients and where you're making your tests that fail and how (errors?).
Putting that big issue aside (the lack of complete information), have you tried using another resolver instead of cloudflare? What settings are you using, pinset/url,ip, etc? Again, please provide complete information of your setup.

I appreciate you trying help someone as new to this as me! i was able to get it all working.