YunoHost-Apps / adguardhome_ynh

AdGuard Home package for YunoHost: Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
14 stars 12 forks source link

DOH not more accessible due to v2 packaging #137

Closed ewilly closed 7 months ago

ewilly commented 7 months ago

Describe the bug

Since v2 push, DOH is no more accessible : domain.tld/dns-query is rejected by ssowat (You've just been SSOed)

Context

Steps to reproduce

```
curl --doh-insecure --doh-url https://domain.tld/dns-query www.google.com
```

Expected behavior

Not being SSOed

Root cause

The content of /etc/ssowat/conf.json is wrong for api permission : cat conf.json | grep "dns-query" produce domain.tld/re:domain.tld/dns-query instead of re:domain.tld/dns-query. I temporary fix it by adding a persistent rule.