AdguardTeam / AdguardTeam/AdGuardHome
CNAME-only should not be returned instantly in parellel requests
- Lenguaje dominante
- TypeScript
- Estrellas
- 36.9k
- Forks
- 2.5k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### Prerequisites
- [x] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer
- [x] I have searched other issues and found no duplicates
- [x] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)
- [x] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)
### Platform (OS and CPU architecture)
Linux, AMD64 (aka x86_64)
### Installation
GitHub releases or script from README
### Setup
On one machine
### AdGuard Home version
v0.107.71
### Action
```sh
dig www.mydomain.com
```
2 upstream servers are queried in parellel.
### Expected result
one upstream would sometimes return an answer only with CNAME but without A record, this should be treated as a negative answer, ADH should wait for all answers.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58017
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 1232
;; QUESTION SECTION:
;www.xyz.com. IN A
;; ANSWER SECTION:
www.xyz.com. 600 IN CNAME www.xyz.com.w.abc.com.
www.xyz.com.w.abc.com. 600 IN A 111.222.333.444
;; Query time: 4 msec
### Actual result
ADH returned and cached the fastest answer, did not check whether the slightly slower answer included a valid A record.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62479
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 1232
;; QUESTION SECTION:
;www.xyz.com. IN A
;; ANSWER SECTION:
www.xyz.com. 600 IN CNAME www.xyz.com.w.abc.com.
;; Query time: 4 msec
### Additional information and/or screenshots
_No response_
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.