AdguardTeam / AdguardTeam/AdGuardHome
AdGuard tries IPv6 when there is no IPv6 connectivity and thus fails
- Lenguaje dominante
- TypeScript
- Estrellas
- 36.9k
- Forks
- 2.5k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Have a question or an idea? Please search it [on our forum](https://github.com/AdguardTeam/AdGuardHome/discussions) to make sure it was not yet asked. If you cannot find what you had in mind, please [submit it here](https://github.com/AdguardTeam/AdGuardHome/discussions/new).
### Prerequisites
Please answer the following questions for yourself before submitting an issue. **YOU MAY DELETE THE PREREQUISITES SECTION.**
- [x] I am running the latest version
- [x] I checked the documentation and found no answer
- [x] I checked to make sure that this issue has not already been filed
### Issue Details
* **Version of AdGuard Home server:**
*
* AdGuard Home, version v0.107.4
* **How did you install AdGuard Home:**
*
* via `curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v`
* **How did you setup DNS configuration:**
default, see below
* **If it's a router or IoT, please write device model:**
*
* **CPU architecture:**
*
* **Operating system and version:**
*
Raspberry PI Debian Bullseye
### Expected Behavior
AdGuard is able to resolve DNS in the default configuration.
### Actual Behavior
AdGuard doesn't resolve DNS, it can't because it tries to connect via IPv6, but there is no IPv6 connectivity.
### Screenshots
AdGuard Home error log states
```
2022/03/02 22:19:30.347468 [error] POST /control/version.json: Couldn't get version check json from https://static.adguard.com/adguardhome/release/version.json: *fmt.wrapError updater: HTTP GET https://static.adguard.com/adguardhome/release/version.json: Get "https://static.adguard.com/adguardhome/release/version.json": requesting https://dns10.quad9.net:443/dns-query: Get "https://dns10.quad9.net:443/dns-query?dns=QJ0BAAABAAAAAAAABnN0YXRpYwdhZGd1YXJkA2NvbQAAAQAB": all dialers failed: 2 errors: "dial tcp [2620:fe::10]:443: connect: network is unreachable", "dial tcp [2620:fe::fe:10]:443: connect: network is unreachable"
```
Screenshot:
### Additional Information
I've changed the default DNS Resolver from `https://dns10.quad9.net/dns-query` to `tls://dns.adguard.com` and now it works. Obviously it also tried to connect to the DoH resolver via IPv6 which also fails.
It is probably related to this issue https://github.com/AdguardTeam/AdGuardHome/issues/1104
For me this issue is done. I know how to handle it. I've opened it so that less experienced users don't run into this problem and then don't know what to do.
I'd like to say that I'm currently using stubby with dnsmasq as DNS-Cache and AdGuard Home is so much better. It is much easier to setup and also has a very nice Webinterface which gives stats and makes maintenance much easier. Thank you very much for providing this great software as OpenSource Software and also for using efficient Go language.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.