OPNsense Forum

English Forums => Documentation and Translation => Topic started by: flaviuvlaicu on July 16, 2024, 06:00:57 PM

Title: Adguard Home - DNS over HTTPS and DNS over TLS
Post by: flaviuvlaicu on July 16, 2024, 06:00:57 PM
Hi,

Some help here would be highly appreciated  ;D

I currently have AdguardHome setup using port 53. Unbound is not used.
OPNsense GUI running on port 8443 and Adguard GUI on 3000. I am trying to use the DoH and DoT but cannot manage to set it up. I also have the certificate in place and it is detecting it and seen as verified.
In the Adgurd GUI it works only by using plain DNS.

Thanks in advance.
Title: Re: Adguard Home - DNS over HTTPS and DNS over TLS
Post by: yeraycito on July 16, 2024, 06:08:16 PM
DNS upstream:

tls://1.1.1.1
tls://1.0.0.1

DNS boot:

1.1.1.1
1.0.0.1
Title: Re: Adguard Home - DNS over HTTPS and DNS over TLS
Post by: flaviuvlaicu on July 16, 2024, 06:27:58 PM
Tried like so but nothing is resolving
Title: Re: Adguard Home - DNS over HTTPS and DNS over TLS
Post by: toodementianull on August 07, 2024, 03:48:05 AM
Are you putting /dns-query at the end of your url?
https://adguard.example.com/dns-query

Also don't forget to add your opnsense ip to the list of trusted proxies in AdGuardHome.yaml. If your domain is registerd through cloudflare you need to add their list of IPs (https://www.cloudflare.com/ips-v4) to that list as well.

If you are using a reverse proxy you have to set force_https: false and allow_unencrypted_doh: true in AdGuardHome.yaml

Edit: Didn't realize this post was a month old. Sorry about the necro bump