Log Error
Prerequisites
-
[x] I have checked the Wiki and Discussions 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
-
[x] I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions 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
Copyright © 2026 AdGuard Versión: v0.107.73
Action
1- I have constantly this output
2- I've tuning operative sistem Ubuntu 24.0.4
3- /var/log/addguard.log
2026/03/26 04:32:06.406423 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/03/26 04:32:06.406473 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/03/26 04:32:06.406491 [error] dnsproxy: unpacking udp packet err="bad question name: dns: buffer size too small" 2026/03/26 04:32:06.406534 [error] dnsproxy: unpacking udp packet err="bad question name: dns: buffer size too small"
Expected result
Log for Queries
Actual result
1- Fix problem
2- sysctl.conf for Adguard
Additional information and/or screenshots
I have the same issue — it’s spamming around 50-100± errors roughly every 30 minutes. I figured out that the culprit is the Samsung A56. I’ve disabled all AI features, Private DNS, and other additional Wi-Fi settings on the phone, but unfortunately it didn’t help. It doesn’t depend on the DNS in the upstream — I’ve tried different options.
2026/03/25 11:15:00.067385 3421#2182 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/03/25 11:15:00.067772 3421#2181 [error] dnsproxy: unpacking udp packet err="bad question name: dns: buffer size too small" 2026/03/25 11:15:00.092828 3421#2173 [debug] dnsproxy: handling new udp packet raddr=10.10.10.13:58730 2026/03/25 11:15:00.092842 3421#2172 [debug] dnsproxy: handling new udp packet raddr=10.10.10.13:58730 2026/03/25 11:15:00.093255 3421#2172 [error] dnsproxy: unpacking udp packet err="bad question name: dns: buffer size too small" 2026/03/25 11:15:00.093325 3421#2173 [error] dnsproxy: unpacking udp packet err="bad question name: dns: buffer size too small"
Hello. Based on the current description, this looks more like AdGuard Home receiving malformed UDP/DNS packets than a fault in AdGuard Home itself, since AGH appears to fail while unpacking the incoming packet and logs errors such as bad rdata and buffer size too small.
To verify whether this is actually an AdGuard Home issue, could you please check whether DNS resolution is actually affected when these messages appear, and also whether the packets can be traced to a specific source, for example with tcpdump on udp/53? It would also be useful to confirm whether 53/udp is exposed externally, since similar log entries can be caused by unrelated traffic or scans hitting the DNS port. If possible, restricting access to AGH temporarily and comparing the result could also help distinguish malformed incoming traffic from an internal AGH issue.
There is some older context that may be relevant here as well. Similar messages were mentioned in earlier release notes, including the old v0.103.1 notes, and there have also been user reports with very similar symptoms where the issue did not clearly point to a defect in AGH itself, but rather to malformed packets or overly noisy logging in such cases. See for example the older release notes here: AdGuardHome v0.103.1, as well as discussions here: SNBForums and Reddit.
At this stage, it seems more likely that the next step is to confirm the source and nature of the incoming packets before concluding that this is a defect in AdGuard Home itself.
Hi Gulnaz Salakhova
1- I don't have any packet named DNSPROXY in the ubuntu server
2- When Addguard stop, the error stop too
3- I don't understand the answer about this issue
[image: IoPLAY Logo]
SOPORTE - NOC
SOPORTE - IoPLAY - IoMUX - InfoBOX - IoGUARD | IoPLAY
🌐 ioplay.co
[image: IoPLAY Icon] Innovación. Confiabilidad. Adaptabilidad.
El vie, 29 may 2026 a la(s) 5:04 a.m., Gulnaz Salakhova ( @.***) escribió:
GulnazSalakhova left a comment (AdguardTeam/AdGuardHome#8312) https://github.com/AdguardTeam/AdGuardHome/issues/8312#issuecomment-4573617639
Hello. Based on the current description, this looks more like AdGuard Home receiving malformed UDP/DNS packets than a fault in AdGuard Home itself, since AGH appears to fail while unpacking the incoming packet and logs errors such as bad rdata and buffer size too small.
To verify whether this is actually an AdGuard Home issue, could you please check whether DNS resolution is actually affected when these messages appear, and also whether the packets can be traced to a specific source, for example with tcpdump on udp/53? It would also be useful to confirm whether 53/udp is exposed externally, since similar log entries can be caused by unrelated traffic or scans hitting the DNS port. If possible, restricting access to AGH temporarily and comparing the result could also help distinguish malformed incoming traffic from an internal AGH issue.
There is some older context that may be relevant here as well. Similar messages were mentioned in earlier release notes, including the old v0.103.1 notes, and there have also been user reports with very similar symptoms where the issue did not clearly point to a defect in AGH itself, but rather to malformed packets or overly noisy logging in such cases. See for example the older release notes here: AdGuardHome v0.103.1 https://newreleases.io/project/github/AdguardTeam/AdGuardHome/release/v0.103.1, as well as discussions here: SNBForums https://www.snbforums.com/threads/adguard-dns-buffer-size-too-small.80148/ and Reddit https://www.reddit.com/r/Adguard/comments/15smt38/dns_buffer_size_too_small_and_some_setup_questions/ .
At this stage, it seems more likely that the next step is to confirm the source and nature of the incoming packets before concluding that this is a defect in AdGuard Home itself.
— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/8312?email_source=notifications&email_token=AIKIFESAYKI2ZWNC46VF3W345FOB7A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINJXGM3DCNZWGM42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4573617639, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKIFER2VBKYO2VTYQJ4OFD45FOB7AVCNFSM6AAAAACXA3MIVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DKNZTGYYTONRTHE . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AIKIFET6PPGVJJMQPZEOETD45FOB7A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINJXGM3DCNZWGM42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AIKIFESG6M6ONO76DB7JG2345FOB7A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINJXGM3DCNZWGM42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
Hello. dnsproxy here is not a separate Ubuntu service or packet name. It is the DNS part of AdGuard Home itself. These messages mean that AdGuard Home is receiving UDP packets on port 53 and some of them cannot be parsed as valid DNS requests.
To understand whether this is malformed traffic from a client/network device or an actual AGH issue, could you please run the following commands and share the output? First, check whether port 53 is exposed and which process is listening on it:
sudo ss -lunp | grep ':53'
sudo ss -ltnp | grep ':53'
Then capture a small sample of the traffic that reaches 53/udp:
sudo tcpdump -ni any udp port 53 -c 50
If the errors happen frequently, it would also help to save a short packet capture for inspection:
sudo tcpdump -ni any udp port 53 -w agh-dns.pcap -c 200
Please also show whether DNS resolution itself is failing at the same time. For example:
nslookup google.com 127.0.0.1
dig @127.0.0.1 google.com
And please share the recent AdGuard Home log lines around the error:
sudo journalctl -u AdGuardHome -n 100 --no-pager
If 53/udp is reachable from the internet, that may simply be unrelated external traffic or scans hitting the DNS port. If the capture shows that the packets come from a local IP, then we can identify the specific client or device that is sending malformed requests.
With the outputs above, it should be possible to tell much more confidently whether this is an AdGuard Home defect or just invalid traffic reaching AGH.
Hi
Thanks for help me
sudo ss -lunp | grep ':53'
UNCONN 0 0 *:53 : users:(("AdGuardHome",pid=42391,fd=13)
sudo ss -ltnp | grep ':53'
LISTEN 0 32768 *:53 : users:(("AdGuardHome",pid=42391,fd=14))
sudo tcpdump -ni any udp port 53 -c 50
tcpdump: data link type LINUX_SLL2
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes 08:22:11.135327 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.20097: 34424 2/0/1 CNAME star.fallback.c10r.instagram.com., A 57.144.60.192 (106) 08:22:11.135644 enp1s0 In IP 190.14.231.251.23099 > 190.14.231.249.53: 29335+ A? telemetry.sdk.inmobi.com. (42) 08:22:11.135904 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.23099: 29335 1/0/0 A 0.0.0.0 (58) 08:22:11.136318 enp1s0 In IP 190.14.231.251.56254 > 190.14.231.249.53: 13536+ A? t-api-pro.adaether.com. (40) 08:22:11.136732 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.56254: 13536 4/0/1 CNAME t-api.br.adaether.com., A 43.135.208.12, A 43.135.209.211, A 43.135.209.200 (122) 08:22:11.151879 enp1s0 In IP 190.14.231.251.18274 > 190.14.231.249.53: 905+ A? ms.applovin.com. (33) 08:22:11.151879 enp1s0 In IP 190.14.231.251.62311 > 190.14.231.249.53: 46418+ A? ms.applovin.com. (33) 08:22:11.152468 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.18274: 905 1/0/0 A 0.0.0.0 (49) 08:22:11.152599 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.62311: 46418 1/0/0 A 0.0.0.0 (49) 08:22:11.154377 enp1s0 In IP 190.14.231.251.51026 > 190.14.231.249.53: 20861+ HTTPS? smp-device-content.apple.com. (46) 08:22:11.154377 enp1s0 In IP 190.14.231.251.47535 > 190.14.231.249.53: 20861+ HTTPS? smp-device-content.apple.com. (46) 08:22:11.155164 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.47535: 20861 1/1/1 CNAME smp-device-content.g.aaplimg.com. (154) 08:22:11.155246 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.51026: 20861 1/1/1 CNAME smp-device-content.g.aaplimg.com. (154) 08:22:11.155279 enp1s0 In IP 190.14.231.251.51026 > 190.14.231.249.53: 15116+ A? smp-device-content.apple.com. (46) 08:22:11.155280 enp1s0 In IP 190.14.231.251.47535 > 190.14.231.249.53: 15116+ A? smp-device-content.apple.com. (46) 08:22:11.156057 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.47535: 15116 3/0/1 CNAME smp-device-content.g.aaplimg.com., A 200.25.8.144, A 38.56.124.176 (132) 08:22:11.156112 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.51026: 15116 3/0/1 CNAME smp-device-content.g.aaplimg.com., A 200.25.8.144, A 38.56.124.176 (132) 08:22:11.160322 enp1s0 In IP 190.14.231.251.51026 > 190.14.231.249.53: 55772+ HTTPS? smp-device-content.g.aaplimg.com. (50) 08:22:11.160878 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.51026: 55772 0/1/1 (121) 08:22:11.161288 enp1s0 In IP 190.14.231.251.47535 > 190.14.231.249.53: 55772+ HTTPS? smp-device-content.g.aaplimg.com. (50) 08:22:11.161648 enp1s0 In IP 190.14.231.251.11873 > 190.14.231.249.53: 15418+ A? time-a.timefreq.bldrdoc.gov. (45) 08:22:11.161648 enp1s0 In IP 190.14.231.251.1216 > 190.14.231.249.53: 15418+ A? time-a.timefreq.bldrdoc.gov. (45) 08:22:11.161699 enp1s0 In IP 190.14.231.251.11873 > 190.14.231.249.53: 15419+ A? time-b.timefreq.bldrdoc.gov. (45) 08:22:11.161752 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.47535: 55772 0/1/1 (121) 08:22:11.162004 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.1216: 15418 2/0/1 CNAME time-a-b.nist.gov., A 132.163.96.1 (100) 08:22:11.162031 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.11873: 15419 2/0/1 CNAME time-b-b.nist.gov., A 132.163.96.2 (100) 08:22:11.162194 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.11873: 15418 2/0/1 CNAME time-a-b.nist.gov., A 132.163.96.1 (100) 08:22:11.162646 enp1s0 In IP 190.14.231.251.1216 > 190.14.231.249.53: 15419+ A? time-b.timefreq.bldrdoc.gov. (45) 08:22:11.162646 enp1s0 In IP 190.14.231.251.11873 > 190.14.231.249.53: 15420+ A? time-c.timefreq.bldrdoc.gov. (45) 08:22:11.163211 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.11873: 15420 2/0/1 CNAME time-c-b.nist.gov., A 132.163.96.3 (100) 08:22:11.163342 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.1216: 15419 2/0/1 CNAME time-b-b.nist.gov., A 132.163.96.2 (100) 08:22:11.165644 enp1s0 In IP 190.14.231.251.1216 > 190.14.231.249.53: 15420+ A? time-c.timefreq.bldrdoc.gov. (45) 08:22:11.166225 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.1216: 15420 2/0/1 CNAME time-c-b.nist.gov., A 132.163.96.3 (100) 08:22:11.167326 enp1s0 In IP 190.14.231.251.6523 > 190.14.231.249.53: 6809+ A? t-api-pro.kwai-pro.com. (40) 08:22:11.167990 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.6523: 6809 5/0/1 CNAME t-api.br.kwai-pro.com., A 43.135.208.88, A 43.135.207.3, A 43.135.208.186, A 43.135.208.207 (138) 08:22:11.169648 enp1s0 In IP 190.14.231.251.29021 > 190.14.231.249.53: 25918+ A? pull-flv-f64-sg01.tiktokcdn.com. (49) 08:22:11.174471 enp1s0 In IP 190.14.231.251.62086 > 190.14.231.249.53: 13708+ A? api.bidmachine.io. (35) 08:22:11.175007 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.62086: 13708 1/0/0 A 0.0.0.0 (51) 08:22:11.179419 enp1s0 In IP 190.14.231.251.1349 > 190.14.231.249.53: 6984+ A? t-apil2.kwai-pro.com. (38) 08:22:11.179515 enp1s0 In IP 190.14.231.251.46582 > 190.14.231.249.53: 31519+ A? canvaz.scdn.co. (32) 08:22:11.180314 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.1349: 6984 4/0/1 CNAME t-apil2.kwai-pro.com.akadns.net., CNAME t-api.sg.kwai-pro.com., A 43.153.234.32, A 43.134.159.179 (149) 08:22:11.180452 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.46582: 31519 7/0/1 CNAME default.cdn-gslb.spotify.com., CNAME common-eipb-ak.spotifycdn.com.edgesuite.net., CNAME squadcdn.scdn.co.splitter-eip.akadns.net., CNAME i.scdn.co-noeip.akamaized.net., CNAME a1520.dscc.akamai.net., A 2.21.133.28, A 2.21.133.25 (297) 08:22:11.180964 enp1s0 In IP 190.14.231.251.48915 > 190.14.231.249.53: 28977+ A? www.google.com. (32) 08:22:11.180964 enp1s0 In IP 190.14.231.251.18027 > 190.14.231.249.53: 28977+ A? www.google.com. (32) 08:22:11.181566 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.18027: 28977 8/0/1 A 142.251.154.119, A 142.251.155.119, A 142.251.156.119, A 142.251.157.119, A 142.251.152.119, A 142.251.150.119, A 142.251.153.119, A 142.251.151.119 (171) 08:22:11.181712 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.48915: 28977 8/0/1 A 142.251.154.119, A 142.251.155.119, A 142.251.156.119, A 142.251.157.119, A 142.251.152.119, A 142.251.150.119, A 142.251.153.119, A 142.251.151.119 (171) 08:22:11.183322 enp1s0 In IP 190.14.231.251.57306 > 190.14.231.249.53: 53454+ A? t-ulog-pro.kwai-pro.com. (41) 08:22:11.183858 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.57306: 53454 1/0/0 A 0.0.0.0 (57) 08:22:11.183932 enp1s0 In IP 190.14.231.251.50287 > 190.14.231.249.53: 13344+ AAAA? acs.tbitolt.com. (33) 08:22:11.184253 enp1s0 Out IP 190.14.231.249.53 > 190.14.231.251.50287: 13344 0/1/0 (147) 50 packets captured 87 packets received by filter 0 packets dropped by kernel
sudo tcpdump -ni any udp port 53 -w agh-dns.pcap -c 200
tcpdump: data link type LINUX_SLL2 tcpdump: listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes 200 packets captured 872 packets received by filter 0 packets dropped by kernel
nslookup google.com http://google.com/ 127.0.0.1
Server: 127.0.0.1 Address: 127.0.0.1#53
Non-authoritative answer: Name: google.com Address: 142.250.26.138 Name: google.com Address: 142.250.26.139 Name: google.com Address: 142.250.26.102 Name: google.com Address: 142.250.26.101 Name: google.com Address: 142.250.26.113 Name: google.com Address: 142.250.26.100
dig @127.0.0.1 http://127.0.0.1/ google.com http://google.com/
; <<>> DiG 9.18.39-0ubuntu0.24.04.2-Ubuntu <<>> @127.0.0.1 google.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3091 ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;google.com. IN A
;; ANSWER SECTION: google.com. 30 IN A 142.250.26.138 google.com. 30 IN A 142.250.26.139 google.com. 30 IN A 142.250.26.102 google.com. 30 IN A 142.250.26.101 google.com. 30 IN A 142.250.26.113 google.com. 30 IN A 142.250.26.100
;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP) ;; WHEN: Wed Jun 03 08:26:12 -05 2026 ;; MSG SIZE rcvd: 135
sudo journalctl -u AdGuardHome -n 100 --no-pager jun 01 23:58:01 ddns1.cableplus.ioplay.co systemd[1]: Stopping AdGuardHome.service - AdGuard Home: Network-level blocker... jun 01 23:58:01 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Deactivated successfully. jun 01 23:58:01 ddns1.cableplus.ioplay.co systemd[1]: Stopped AdGuardHome.service - AdGuard Home: Network-level blocker. jun 01 23:58:01 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Consumed 8h 29min 47.431s CPU time, 18.8M memory peak, 0B memory swap peak. jun 01 23:58:01 ddns1.cableplus.ioplay.co systemd[1]: Started AdGuardHome.service - AdGuard Home: Network-level blocker. jun 01 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: Stopping AdGuardHome.service - AdGuard Home: Network-level blocker... jun 01 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Deactivated successfully. jun 01 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: Stopped AdGuardHome.service - AdGuard Home: Network-level blocker. jun 01 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Consumed 18.613s CPU time, 124.3M memory peak, 0B memory swap peak. jun 01 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: Started AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 11:39:01 ddns1.cableplus.ioplay.co systemd[1]: Stopping AdGuardHome.service - AdGuard Home: Network-level blocker... jun 02 11:39:01 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Deactivated successfully. jun 02 11:39:01 ddns1.cableplus.ioplay.co systemd[1]: Stopped AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 11:39:01 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Consumed 3h 8min 27.361s CPU time, 1.9G memory peak, 0B memory swap peak. jun 02 11:39:01 ddns1.cableplus.ioplay.co systemd[1]: Started AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 15:06:17 ddns1.cableplus.ioplay.co systemd[1]: Stopping AdGuardHome.service - AdGuard Home: Network-level blocker... jun 02 15:06:17 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Deactivated successfully. jun 02 15:06:17 ddns1.cableplus.ioplay.co systemd[1]: Stopped AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 15:06:17 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Consumed 1h 15min 2.821s CPU time, 2.2G memory peak, 0B memory swap peak. jun 02 15:06:17 ddns1.cableplus.ioplay.co systemd[1]: Started AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 15:20:43 ddns1.cableplus.ioplay.co systemd[1]: Stopping AdGuardHome.service - AdGuard Home: Network-level blocker... jun 02 15:20:43 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Deactivated successfully. jun 02 15:20:43 ddns1.cableplus.ioplay.co systemd[1]: Stopped AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 15:20:43 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Consumed 5min 28.993s CPU time, 347.9M memory peak, 0B memory swap peak. jun 02 15:20:43 ddns1.cableplus.ioplay.co systemd[1]: Started AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 15:51:34 ddns1.cableplus.ioplay.co systemd[1]: Stopping AdGuardHome.service - AdGuard Home: Network-level blocker... jun 02 15:51:35 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Deactivated successfully. jun 02 15:51:35 ddns1.cableplus.ioplay.co systemd[1]: Stopped AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 15:51:35 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Consumed 11min 37.544s CPU time, 554.5M memory peak, 0B memory swap peak. jun 02 15:51:35 ddns1.cableplus.ioplay.co systemd[1]: Started AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 23:58:01 ddns1.cableplus.ioplay.co systemd[1]: Stopping AdGuardHome.service - AdGuard Home: Network-level blocker... jun 02 23:58:02 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Deactivated successfully. jun 02 23:58:02 ddns1.cableplus.ioplay.co systemd[1]: Stopped AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 23:58:02 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Consumed 3h 34min 53.741s CPU time, 93.6M memory peak, 0B memory swap peak. jun 02 23:58:02 ddns1.cableplus.ioplay.co systemd[1]: Started AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: Stopping AdGuardHome.service - AdGuard Home: Network-level blocker... jun 02 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Deactivated successfully. jun 02 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: Stopped AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Consumed 17.589s CPU time, 126.4M memory peak, 0B memory swap peak. jun 02 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: Started AdGuardHome.service - AdGuard Home: Network-level blocker. jun 03 08:15:31 ddns1.cableplus.ioplay.co systemd[1]: Stopping AdGuardHome.service - AdGuard Home: Network-level blocker... jun 03 08:15:31 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Deactivated successfully. jun 03 08:15:31 ddns1.cableplus.ioplay.co systemd[1]: Stopped AdGuardHome.service - AdGuard Home: Network-level blocker. jun 03 08:15:31 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Consumed 1h 47min 27.584s CPU time, 1.3G memory peak, 0B memory swap peak. jun 03 08:15:31 ddns1.cableplus.ioplay.co systemd[1]: Started AdGuardHome.service - AdGuard Home: Network-level blocker.
El mié, 3 jun 2026 a la(s) 5:24 a.m., Gulnaz Salakhova ( @.***) escribió:
GulnazSalakhova left a comment (AdguardTeam/AdGuardHome#8312) https://github.com/AdguardTeam/AdGuardHome/issues/8312#issuecomment-4611350419
Hello. dnsproxy here is not a separate Ubuntu service or packet name. It is the DNS part of AdGuard Home itself. These messages mean that AdGuard Home is receiving UDP packets on port 53 and some of them cannot be parsed as valid DNS requests.
To understand whether this is malformed traffic from a client/network device or an actual AGH issue, could you please run the following commands and share the output? First, check whether port 53 is exposed and which process is listening on it:
sudo ss -lunp | grep ':53' sudo ss -ltnp | grep ':53'
Then capture a small sample of the traffic that reaches 53/udp:
sudo tcpdump -ni any udp port 53 -c 50 If the errors happen frequently, it would also help to save a short packet capture for inspection:
sudo tcpdump -ni any udp port 53 -w agh-dns.pcap -c 200 Please also show whether DNS resolution itself is failing at the same time. For example:
nslookup google.com 127.0.0.1 dig @127.0.0.1 google.com
And please share the recent AdGuard Home log lines around the error:
sudo journalctl -u AdGuardHome -n 100 --no-pager If 53/udp is reachable from the internet, that may simply be unrelated external traffic or scans hitting the DNS port. If the capture shows that the packets come from a local IP, then we can identify the specific client or device that is sending malformed requests.
With the outputs above, it should be possible to tell much more confidently whether this is an AdGuard Home defect or just invalid traffic reaching AGH.
— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/8312?email_source=notifications&email_token=AIKIFEU7U6QYRVHYGMTWTEL4574EPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRRGEZTKMBUGE42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4611350419, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKIFEXAWV7QKNAATM3X54T4574EPAVCNFSM6AAAAACXA3MIVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMMJRGM2TANBRHE . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AIKIFETXZOSQPOCQTB2WX6L4574EPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRRGEZTKMBUGE42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AIKIFESURIYAMZSFNSLT5L34574EPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRRGEZTKMBUGE42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
Hello. From the output you shared, AdGuard Home itself appears to be working normally: it is listening on port 53, it answers DNS requests correctly, and both nslookup and dig return valid results.
At the same time, the capture you provided only shows normal DNS traffic, so it does not yet include the malformed packet that triggers the error. This means the issue is more likely related to a specific incoming packet or client, rather than a general AdGuard Home failure.
Could you please capture the traffic exactly when the error appears, and also include the actual error lines from the AGH log? For example:
sudo journalctl -u AdGuardHome -f
and in another terminal:
sudo tcpdump -ni any udp port 53 -vv -w agh-error.pcap
Then, after the error appears, stop both commands and share:
-
the exact log lines with the error;
-
the approximate time when it happened;
-
the agh-error.pcap file, if possible.
That should let us determine which packet or client is causing the problem and whether this is malformed incoming traffic or an actual AGH parsing issue.
Hi
sudo journalctl -u AdGuardHome -f
jun 02 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: Stopping AdGuardHome.service - AdGuard Home: Network-level blocker... jun 02 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Deactivated successfully. jun 02 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: Stopped AdGuardHome.service - AdGuard Home: Network-level blocker. jun 02 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Consumed 17.589s CPU time, 126.4M memory peak, 0B memory swap peak. jun 02 23:59:06 ddns1.cableplus.ioplay.co systemd[1]: Started AdGuardHome.service - AdGuard Home: Network-level blocker. jun 03 08:15:31 ddns1.cableplus.ioplay.co systemd[1]: Stopping AdGuardHome.service - AdGuard Home: Network-level blocker... jun 03 08:15:31 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Deactivated successfully. jun 03 08:15:31 ddns1.cableplus.ioplay.co systemd[1]: Stopped AdGuardHome.service - AdGuard Home: Network-level blocker. jun 03 08:15:31 ddns1.cableplus.ioplay.co systemd[1]: AdGuardHome.service: Consumed 1h 47min 27.584s CPU time, 1.3G memory peak, 0B memory swap peak. jun 03 08:15:31 ddns1.cableplus.ioplay.co systemd[1]: Started AdGuardHome.service - AdGuard Home: Network-level blocker.
Adguard is working successfully.... But this the same error always.... /etc/sysctl.conf, has the right parameters......... I sent attached .pcap
tail -f /var/log/addguard.log
2026/06/03 08:17:24.272023 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/03 08:17:29.260082 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/03 08:17:34.250375 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/03 08:17:39.257352 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/03 08:18:25.822545 [error] dnsproxy: unpacking udp packet err="bad question name: dns: buffer size too small" 2026/06/03 08:18:30.230570 [error] dnsproxy: unpacking udp packet err="bad question name: dns: buffer size too small" 2026/06/03 08:18:36.141996 [error] dnsproxy: unpacking udp packet err="bad question name: dns: buffer size too small" 2026/06/03 08:18:40.219985 [error] dnsproxy: unpacking udp packet err="bad question name: dns: buffer size too small"
2026/06/03 10:38:23.733194 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/03 10:38:23.736184 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/03 10:38:23.945078 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/03 10:38:23.946838 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/03 10:38:23.948022 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/03 10:38:23.949925 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/03 10:38:24.146099 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/03 10:38:24.147175 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/03 10:38:24.149053 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/03 10:38:24.149960 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16"
agh-error.pcap https://drive.google.com/file/d/1h7QHUSHPjoSR3J9MyeQDZIOIv-WK_GoL/view?usp=drive_web
[image: IoPLAY Logo]
SOPORTE - NOC
SOPORTE - IoPLAY - IoMUX - InfoBOX - IoGUARD | IoPLAY
🌐 ioplay.co
[image: IoPLAY Icon] Innovación. Confiabilidad. Adaptabilidad.
El mié, 3 jun 2026 a la(s) 9:02 a.m., Gulnaz Salakhova ( @.***) escribió:
GulnazSalakhova left a comment (AdguardTeam/AdGuardHome#8312) https://github.com/AdguardTeam/AdGuardHome/issues/8312#issuecomment-4613156209
Hello. From the output you shared, AdGuard Home itself appears to be working normally: it is listening on port 53, it answers DNS requests correctly, and both nslookup and dig return valid results.
At the same time, the capture you provided only shows normal DNS traffic, so it does not yet include the malformed packet that triggers the error. This means the issue is more likely related to a specific incoming packet or client, rather than a general AdGuard Home failure.
Could you please capture the traffic exactly when the error appears, and also include the actual error lines from the AGH log? For example:
sudo journalctl -u AdGuardHome -f
and in another terminal:
sudo tcpdump -ni any udp port 53 -vv -w agh-error.pcap
Then, after the error appears, stop both commands and share:
-
the exact log lines with the error;
the approximate time when it happened;
the agh-error.pcap file, if possible.
That should let us determine which packet or client is causing the problem and whether this is malformed incoming traffic or an actual AGH parsing issue.
— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/8312?email_source=notifications&email_token=AIKIFEUUTRCANHFQMMWJXX346AVWJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRRGMYTKNRSGA42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4613156209, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKIFERK2PH2FISCVHIFTOD46AVWJAVCNFSM6AAAAACXA3MIVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMMJTGE2TMMRQHE . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AIKIFEWOQKSMXNXW7TDQC5346AVWJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRRGMYTKNRSGA42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AIKIFESMMA4FY7YN6ASMBBL46AVWJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRRGMYTKNRSGA42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
The new logs suggest that AdGuard Home itself is working, but it is receiving invalid traffic on port 53.
The UDP errors (bad rdata, buffer size too small) indicate malformed packets, and the TCP errors (overflow unpacking uint16) strongly suggest that something is connecting to 53/tcp and sending data that is not a valid DNS message at all.
So at this point the problem looks less like a DNS resolution issue inside AGH and more like unrelated or malformed traffic reaching the DNS port. This can happen if port 53 is exposed publicly, or if some client/device/service is sending the wrong protocol to that port.
Hi
But I installed PiHOLE, and I don't have errors like this.... You know that PiHOLE works over 53 ports too...
[image: IoPLAY Logo]
SOPORTE - NOC
SOPORTE - IoPLAY - IoMUX - InfoBOX - IoGUARD | IoPLAY
🌐 ioplay.co
[image: IoPLAY Icon] Innovación. Confiabilidad. Adaptabilidad.
El mié, 3 jun 2026 a la(s) 10:47 a.m., Gulnaz Salakhova ( @.***) escribió:
GulnazSalakhova left a comment (AdguardTeam/AdGuardHome#8312) https://github.com/AdguardTeam/AdGuardHome/issues/8312#issuecomment-4614213547
The new logs suggest that AdGuard Home itself is working, but it is receiving invalid traffic on port 53.
The UDP errors (bad rdata, buffer size too small) indicate malformed packets, and the TCP errors (overflow unpacking uint16) strongly suggest that something is connecting to 53/tcp and sending data that is not a valid DNS message at all.
So at this point the problem looks less like a DNS resolution issue inside AGH and more like unrelated or malformed traffic reaching the DNS port. This can happen if port 53 is exposed publicly, or if some client/device/service is sending the wrong protocol to that port.
— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/8312?email_source=notifications&email_token=AIKIFEQ3XLR6LTBXL5ZJKNL46BCBVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRRGQZDCMZVGQ32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4614213547, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKIFEVCWQUNZA4VB4IQUHL46BCBVAVCNFSM6AAAAACXA3MIVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMMJUGIYTGNJUG4 . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AIKIFEQMMTNHXZKED3VRVML46BCBVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRRGQZDCMZVGQ32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AIKIFEU7JBZ3IGKWGTNOFS346BCBVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRRGQZDCMZVGQ32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
The fact that Pi-hole did not show the same errors does not by itself mean that AdGuard Home is the source of the problem. Different DNS servers may handle malformed traffic differently: one may silently drop such packets, while another may log them explicitly. Based on the data provided, this does not currently look like a confirmed AdGuard Home defect. AGH responds correctly to valid DNS queries, while the logged errors indicate malformed or non-DNS traffic reaching port 53. The recommended next step on your side is to restrict access to 53/tcp and 53/udp only to the clients/networks that should use this DNS server, or identify the source device/IP from the packet capture and stop that traffic there.
Hi
-
The use of TCP/53 and UDP/53 ports is restricted only to the 10.0.0.0/19 network.
-
In the firewall, all requests are strictly redirected to the machine at 190.14.231.249/28.
-
AdGuard logs only show the errors sent and do not even show the source IP address.
-
Regarding Pi-hole, its structure is very similar to AdGuard's in terms of operation, and there are no silently dropped packets because parameters are configured in /etc/sysctl.conf to display all operating system anomalies, dropec, critical, warning, etc.
[image: IoPLAY Logo]
SOPORTE - NOC
SOPORTE - IoPLAY - IoMUX - InfoBOX - IoGUARD | IoPLAY
🌐 ioplay.co
[image: IoPLAY Icon] Innovación. Confiabilidad. Adaptabilidad.
El jue, 4 jun 2026 a la(s) 3:31 a.m., Gulnaz Salakhova ( @.***) escribió:
GulnazSalakhova left a comment (AdguardTeam/AdGuardHome#8312) https://github.com/AdguardTeam/AdGuardHome/issues/8312#issuecomment-4620404281
The fact that Pi-hole did not show the same errors does not by itself mean that AdGuard Home is the source of the problem. Different DNS servers may handle malformed traffic differently: one may silently drop such packets, while another may log them explicitly. Based on the data provided, this does not currently look like a confirmed AdGuard Home defect. AGH responds correctly to valid DNS queries, while the logged errors indicate malformed or non-DNS traffic reaching port 53. The recommended next step on your side is to restrict access to 53/tcp and 53/udp only to the clients/networks that should use this DNS server, or identify the source device/IP from the packet capture and stop that traffic there.
— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/8312?email_source=notifications&email_token=AIKIFESWXIOQ2CECDZBIOHL46EXXRA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGA2DANBSHAY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4620404281, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKIFESS7JC2QIWO5V4I4EL46EXXRAVCNFSM6AAAAACXA3MIVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMMRQGQYDIMRYGE . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AIKIFEWE5EY3BP6MCZ4VEVT46EXXRA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGA2DANBSHAY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AIKIFEROZSA2YUXCNPVACK346EXXRA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGA2DANBSHAY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
Based on the information provided, this is not a confirmed AdGuard Home bug. AdGuard Home responds correctly to valid DNS queries, while the reported errors indicate malformed or non-standard traffic reaching port 53. Because the traffic is redirected by the firewall, the source is more likely to be identified on the firewall/NAT side than from AGH logs alone. If you can reproduce the same issue with valid DNS traffic only, please share that. As practical next steps, please check the original source of this traffic on the firewall/NAT side, since your rules redirect DNS requests before they reach AGH. It would also make sense to review which client or device in 10.0.0.0/19 is generating repeated requests at the same timestamps, and, if possible, temporarily limit DNS access to a smaller subset of clients to identify the source.
Hi
- I have always maintained that Adguard works satisfactorily.
2- We applied a Wireshark function to analyze DNS-TCP/DNS-UDP traffic originating from the 10.0.0.0/19 network, and it did not show any malformed packets.
3- In our work, we handle network security, high availability, mass storage, IaaS, SaaS, APP, and APPs under Android, WebOS, Tizen, Windows Server, Linux Canonical, Linux Tegra NVIDIA, SLES, Red Hat, Linux Oracle, etc.... operating systems.
4- We understand that the problem originates from the fact that the /etc/sysctl.conf configuration lacks some appropriate parameters to handle the large volume of processes and requests from a service.
5- We have tried all known parameters for this traffic volume, but we have not found the correct settings.
6- We appreciate all your help, but the problem is strictly related to the Linux kernel parameter configuration for processing AdGuard requests and responses.
7- If AdGuard If it doesn't propose a */etc/sysctl.conf *configuration that's appropriate for the processing volume, there won't be a solution.
8- Adguard isn't the problem itself. The problem is that Adguard doesn't propose the correct parameters */etc/sysctl.conf * for processing its tasks. We are 100% sure about this
[image: IoPLAY Logo]
SOPORTE - NOC
SOPORTE - IoPLAY - IoMUX - InfoBOX - IoGUARD | IoPLAY
🌐 ioplay.co
[image: IoPLAY Icon] Innovación. Confiabilidad. Adaptabilidad.
El jue, 4 jun 2026 a la(s) 7:45 a.m., Gulnaz Salakhova ( @.***) escribió:
GulnazSalakhova left a comment (AdguardTeam/AdGuardHome#8312) https://github.com/AdguardTeam/AdGuardHome/issues/8312#issuecomment-4622256696
Based on the information provided, this is not a confirmed AdGuard Home bug. AdGuard Home responds correctly to valid DNS queries, while the reported errors indicate malformed or non-standard traffic reaching port 53. Because the traffic is redirected by the firewall, the source is more likely to be identified on the firewall/NAT side than from AGH logs alone. If you can reproduce the same issue with valid DNS traffic only, please share that.
— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/8312?email_source=notifications&email_token=AIKIFER7CIBEQC3LJWVJUGD46FVNTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGIZDKNRWHE3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4622256696, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKIFERZDNSJDMSBURFQ7WT46FVNTAVCNFSM6AAAAACXA3MIVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMMRSGI2TMNRZGY . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AIKIFEVWETNQ6PV6DEGI66L46FVNTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGIZDKNRWHE3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AIKIFEWQCNGHP633OQD42CD46FVNTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGIZDKNRWHE3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
Could you please temporarily replace Quad9 with another upstream DNS server and check whether the errors change?
Hi
1- I have these DNS servers now. These are DNS assigned by ADGUARD DNS
Bootstrap DNS servers
94.140.14.49 94.140.14.59
2- I took a trial ADGUARD DNS Service
3- Everything works fine, but I'm still getting the same errors in /var/log/adguard.log
[image: IoPLAY Logo]
SOPORTE - NOC
SOPORTE - IoPLAY - IoMUX - InfoBOX - IoGUARD | IoPLAY
🌐 ioplay.co
[image: IoPLAY Icon] Innovación. Confiabilidad. Adaptabilidad.
El jue, 4 jun 2026 a la(s) 8:29 a.m., Vsevolod Naumov ( @.***) escribió:
VsevolodNaumov left a comment (AdguardTeam/AdGuardHome#8312) https://github.com/AdguardTeam/AdGuardHome/issues/8312#issuecomment-4622593323
Could you please temporarily replace Quad9 with another upstream DNS server and check whether the errors change?
— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/8312?email_source=notifications&email_token=AIKIFEQSBNKWAYYQA6LITX346F2UHA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGI2TSMZTGIZ2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4622593323, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKIFEWUMJY4AXUXMUXZWKT46F2UHAVCNFSM6AAAAACXA3MIVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMMRSGU4TGMZSGM . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AIKIFEWJ4E6HXLETUZVP5SL46F2UHA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGI2TSMZTGIZ2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AIKIFESGC52J64ZYHMHBAO346F2UHA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGI2TSMZTGIZ2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
I can't see the image. Could you please upload it directly to the issue again, or paste the relevant log/output as text?
Hi
2026/06/04 07:41:24.344461 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.344899 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.344957 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.344969 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.345663 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.345673 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.345694 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.345723 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.345731 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.346719 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.346878 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.346909 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.347868 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.347902 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.347940 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.348924 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.348962 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.348974 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.348983 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata" 2026/06/04 07:41:24.348992 [error] dnsproxy: unpacking udp packet err="bad question name: dns: bad rdata"
2026/06/04 08:51:01.171458 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:01.172459 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:01.174498 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:01.175281 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:01.231657 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:01.232567 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:01.234745 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:01.235716 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:18.174280 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:18.174359 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:18.177206 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:18.177223 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:18.235029 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:18.235062 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:18.237897 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16" 2026/06/04 08:51:18.237956 [error] dnsproxy: handling tcp; unpacking msg err="bad header id: dns: overflow unpacking uint16"
[image: IoPLAY Logo]
SOPORTE - NOC
SOPORTE - IoPLAY - IoMUX - InfoBOX - IoGUARD | IoPLAY
🌐 ioplay.co
[image: IoPLAY Icon] Innovación. Confiabilidad. Adaptabilidad.
El jue, 4 jun 2026 a la(s) 8:47 a.m., Vsevolod Naumov ( @.***) escribió:
VsevolodNaumov left a comment (AdguardTeam/AdGuardHome#8312) https://github.com/AdguardTeam/AdGuardHome/issues/8312#issuecomment-4622731491
I can't see the image. Could you please upload it directly to the issue again, or paste the relevant log/output as text?
— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/8312?email_source=notifications&email_token=AIKIFEQE4XL5YG5FZIZVCB346F4VJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGI3TGMJUHEY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4622731491, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKIFEV3LW7FSJ75JQV3BYT46F4VJAVCNFSM6AAAAACXA3MIVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMMRSG4ZTCNBZGE . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AIKIFESRXK5J4ZVFTS3WMQ346F4VJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGI3TGMJUHEY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AIKIFESVJIHQP2D732MGUXD46F4VJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGI3TGMJUHEY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
How do clients connect to AdGuard Home?
- plain DNS over UDP/TCP on port 53
- DNS-over-TLS
- DNS-over-HTTPS
- DNS-over-QUIC
Hi
- plain DNS over UDP/TCP on port 53 3.500 clients
- DNS-over-TLS
- DNS-over-HTTPS
- DNS-over-QUIC
At this moment, clients only have connected over plain DNS over UDP/TCP on port 53
SPECS SERVER
-
32 GB RAM
-
12th Gen Intel(R) Core(TM) i5-12450H
TOP
top - 09:38:23 up 58 days, 14:59, 1 user, load average: 0,22, 0,13, 0,10 Tasks: 249 total, 2 running, 247 sleeping, 0 stopped, 0 zombie %Cpu(s): 2,1 us, 0,8 sy, 0,0 ni, 97,1 id, 0,0 wa, 0,0 hi, 0,1 si, 0,0 st MiB Mem : 15715,2 total, 10684,9 free, 4589,6 used, 874,3 buff/cache MiB Swap: 4096,0 total, 4096,0 free, 0,0 used. 11125,6 avail Mem
[image: IoPLAY Logo]
SOPORTE - NOC
SOPORTE - IoPLAY - IoMUX - InfoBOX - IoGUARD | IoPLAY
🌐 ioplay.co
[image: IoPLAY Icon] Innovación. Confiabilidad. Adaptabilidad.
El jue, 4 jun 2026 a la(s) 9:11 a.m., Vsevolod Naumov ( @.***) escribió:
VsevolodNaumov left a comment (AdguardTeam/AdGuardHome#8312) https://github.com/AdguardTeam/AdGuardHome/issues/8312#issuecomment-4622940390
How do clients connect to AdGuard Home?
- plain DNS over UDP/TCP on port 53
- DNS-over-TLS
- DNS-over-HTTPS
- DNS-over-QUIC
— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/8312?email_source=notifications&email_token=AIKIFEXZAWFEZI7FBCM3MZL46F7SJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGI4TIMBTHEYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4622940390, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKIFEVQYPOPJCQTYSRMGWL46F7SJAVCNFSM6AAAAACXA3MIVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMMRSHE2DAMZZGA . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AIKIFEUXO5CH6SQLQOP7BFL46F7SJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGI4TIMBTHEYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AIKIFESEW2UIYCL3OUPFMPL46F7SJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSGI4TIMBTHEYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
Given that there are about 3,500 clients using plain DNS over UDP/TCP on port 53, have you considered the possibility that some client or device is simply sending malformed DNS requests?
Could you please try to reproduce this manually with a valid DNS load test? For example, you can use godnsbench:
https://github.com/ameshkov/godnsbench
Example test against AdGuard Home:
godnsbench -a tcp://127.0.0.1:53 -p 50 -c 50000 -q {random}.example.org
godnsbench -a udp://127.0.0.1:53 -p 50 -c 50000 -q {random}.example.org