AdguardTeam / AdguardTeam/AdGuardHome

Adguard is unsuccessfully trying to resolve PTR for its own IP address

Aperta
#7,617 4 commenti 5 reazioni 1 assegnatario Rivendicata da @Chinaski1 Vedi su GitHub
Priority: P4
Lingua principale
TypeScript
Stelle
36.9k
Fork
2.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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)

Custom (please mention in the description)

### Installation

Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)

### Setup

On one machine

### AdGuard Home version

0.107.56

### Action

Adguard is running in a docker container which has internet access, is able to ping the gateway, itself and the outside world:

```root@a0d7b954-adguard:/$ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: seq=0 ttl=59 time=12.765 ms
64 bytes from 1.1.1.1: seq=1 ttl=59 time=12.898 ms
^C
--- 1.1.1.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 12.765/12.831/12.898 ms
root@a0d7b954-adguard:/$ ping 192.168.178.1
PING 192.168.178.1 (192.168.178.1): 56 data bytes
64 bytes from 192.168.178.1: seq=0 ttl=64 time=0.702 ms
^C
--- 192.168.178.1 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.702/0.702/0.702 ms
root@a0d7b954-adguard:/$ ping 192.168.178.200
PING 192.168.178.200 (192.168.178.200): 56 data bytes
64 bytes from 192.168.178.200: seq=0 ttl=64 time=0.209 ms
^X^C
--- 192.168.178.200 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.209/0.209/0.209 ms```

```C:\Users\user>nslookup heise.de 192.168.178.200
Server: UnKnown
Address: 192.168.178.200

Nicht autorisierende Antwort:
Name: heise.de
Addresses: 2a02:2e0:3fe:1001:302::
193.99.144.80
```

### Expected result

Address get's resolved correctly, however if I take a look at the logs...

### Actual result

```Docker version 27.3.1, build ce1223035ac3ab8922717092e63a184cf67b493d6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2025/01/30 14:42:09.899539 [info] dnsproxy: starting dns proxy server
2025/01/30 14:42:09.899729 [info] dnsproxy: creating udp server socket addr=192.168.178.200:53
2025/01/30 14:42:09.900103 [info] dnsproxy: listening to udp addr=192.168.178.200:53
2025/01/30 14:42:09.900149 [info] dnsproxy: creating udp server socket addr=[2003:cb:7708:300:81f0:357:b774:73ed]:53
2025/01/30 14:42:09.900292 [info] dnsproxy: listening to udp addr=[2003:cb:7708:300:81f0:357:b774:73ed]:53
2025/01/30 14:42:09.900317 [info] dnsproxy: creating udp server socket addr=[fe80::3c27:61ac:9903:b3cc%enp0s18]:53
2025/01/30 14:42:09.901500 [info] dnsproxy: listening to udp addr=[fe80::3c27:61ac:9903:b3cc%enp0s18]:53
2025/01/30 14:42:09.901539 [info] dnsproxy: creating udp server socket addr=172.30.32.1:53
2025/01/30 14:42:09.902444 [info] dnsproxy: listening to udp addr=172.30.32.1:53
2025/01/30 14:42:09.902573 [info] dnsproxy: creating udp server socket addr=127.0.0.1:53
2025/01/30 14:42:09.902806 [info] dnsproxy: listening to udp addr=127.0.0.1:53
2025/01/30 14:42:09.902892 [info] dnsproxy: creating udp server socket addr=[::1]:53
2025/01/30 14:42:09.903222 [info] dnsproxy: listening to udp addr=[::1]:53
2025/01/30 14:42:09.903357 [info] dnsproxy: creating tcp server socket addr=192.168.178.200:53
2025/01/30 14:42:09.903837 [info] dnsproxy: listening to tcp addr=192.168.178.200:53
2025/01/30 14:42:09.903952 [info] dnsproxy: creating tcp server socket addr=[2003:cb:7708:300:81f0:357:b774:73ed]:53
2025/01/30 14:42:09.904120 [info] dnsproxy: listening to tcp addr=[2003:cb:7708:300:81f0:357:b774:73ed]:53
2025/01/30 14:42:09.904145 [info] dnsproxy: creating tcp server socket addr=[fe80::3c27:61ac:9903:b3cc%enp0s18]:53
2025/01/30 14:42:09.904267 [info] dnsproxy: listening to tcp addr=[fe80::3c27:61ac:9903:b3cc%enp0s18]:53
2025/01/30 14:42:09.904288 [info] dnsproxy: creating tcp server socket addr=172.30.32.1:53
2025/01/30 14:42:09.904389 [info] dnsproxy: listening to tcp addr=172.30.32.1:53
2025/01/30 14:42:09.904408 [info] dnsproxy: creating tcp server socket addr=127.0.0.1:53
2025/01/30 14:42:09.904506 [info] dnsproxy: listening to tcp addr=127.0.0.1:53
2025/01/30 14:42:09.904527 [info] dnsproxy: creating tcp server socket addr=[::1]:53
2025/01/30 14:42:09.904631 [info] dnsproxy: listening to tcp addr=[::1]:53
2025/01/30 14:42:09.905121 [info] dnsproxy: entering udp listener loop addr=[::1]:53
2025/01/30 14:42:09.905385 [info] dnsproxy: entering udp listener loop addr=192.168.178.200:53
2025/01/30 14:42:09.905625 [info] dnsproxy: entering udp listener loop addr=[2003:cb:7708:300:81f0:357:b774:73ed]:53
2025/01/30 14:42:09.905844 [info] dnsproxy: entering udp listener loop addr=[fe80::3c27:61ac:9903:b3cc%enp0s18]:53
2025/01/30 14:42:09.906158 [info] dnsproxy: entering udp listener loop addr=172.30.32.1:53
2025/01/30 14:42:09.906380 [info] dnsproxy: entering udp listener loop addr=127.0.0.1:53
2025/01/30 14:42:09.906675 [info] dnsproxy: entering listener loop proto=tcp addr=172.30.32.1:53
2025/01/30 14:42:09.906738 [info] dnsproxy: entering listener loop proto=tcp addr=127.0.0.1:53
2025/01/30 14:42:09.906768 [info] dnsproxy: entering listener loop proto=tcp addr=192.168.178.200:53
2025/01/30 14:42:09.906833 [info] dnsproxy: entering listener loop proto=tcp addr=[::1]:53
2025/01/30 14:42:09.906834 [info] dnsproxy: entering listener loop proto=tcp addr=[2003:cb:7708:300:81f0:357:b774:73ed]:53
2025/01/30 14:42:09.906873 [info] dnsproxy: entering listener loop proto=tcp addr=[fe80::3c27:61ac:9903:b3cc%enp0s18]:53
2025/01/30 14:44:11.553266 [error] dnsproxy: exchange failed upstream=https://dns10.quad9.net:443/dns-query question=";tk42.duckdns.org.\tIN\t A" duration=4.038520279s err="expected status 200, got 502 from https://dns10.quad9.net:443/dns-query"
2025/01/30 14:44:11.576254 [error] dnsproxy: exchange failed upstream=https://dns10.quad9.net:443/dns-query question=";home-rp.onipron.de.\tIN\t A" duration=4.061867882s err="expected status 200, got 502 from https://dns10.quad9.net:443/dns-query"
2025/01/30 14:44:14.785610 [error] dnsproxy: exchange failed upstream=https://dns10.quad9.net:443/dns-query question=";home-rp.onipron.de.\tIN\t A" duration=4.189889864s err="expected status 200, got 502 from https://dns10.quad9.net:443/dns-query"
2025/01/30 14:45:29.759078 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:52090->172.30.32.3:53: i/o timeout"
2025/01/30 14:45:29.759230 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.002230656s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:52090->172.30.32.3:53: i/o timeout"```

The last line repeats over and over, e.g.

```2025/02/07 14:46:02.452659 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:51537->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.452996 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:41112->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.453110 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.002497352s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:41112->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.453854 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.003806934s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:51537->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.460843 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:42845->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.460969 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.002125434s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:42845->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.461308 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:57292->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.461390 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.003798372s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:57292->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.462646 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:48615->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.475306 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.01875669s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:48615->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.463430 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:33158->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.463771 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:53310->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.464360 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:55879->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.468371 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:33118->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.469402 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:43953->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.471277 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:49103->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.472285 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:33727->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.473249 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:34079->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.474000 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:53458->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.474128 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:34262->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.474282 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:58293->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.475079 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:44335->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.478223 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:60783->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.480022 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.006504244s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:60783->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.480490 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.027486901s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:33158->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.481114 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.026736665s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:53310->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.481652 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.019796054s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:55879->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.482351 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.018680695s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:33118->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.482614 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.030616342s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:43953->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.482904 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.027664606s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:49103->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.483098 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.0133916s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:33727->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.483257 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.011005757s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:34079->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.483370 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.018674297s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:53458->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.483480 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.017525582s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:34262->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.483799 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.023711529s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:58293->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.484163 [error] dnsproxy: exchange failed upstream=172.30.32.3:53 question=";200.178.168.192.in-addr.arpa.\tIN\t PTR" duration=2.012994167s err="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:44335->172.30.32.3:53: i/o timeout"
2025/02/07 14:46:02.486225 ERROR response received addr=172.30.32.3:53 proto=udp status="exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:51317->172.30.32.3:53: i/o timeout"```

### Additional information and/or screenshots

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.