This is an automated archive.
The original was posted on /r/homelab by /u/MicroserviceEngineer on 2024-01-23 14:28:36+00:00.
I'm at my wit's end and have no idea how I can debug this issue any further. I have a home setup that involves the following:
- a Raspberry Pi with home assistant and the Adguard plugin with DHCP for IPv4
- Core 2024.1.5
- Supervisor 2023.12.1
- Operating System 11.4
- Frontend 20240104.0
- Adguard plugin 5.0.2
- my ISP's (Ziggo) default router (IPv4 and IPv6) with its IPv6 DHCP with DNS set to the Pi's IPv6.
- a laptop doing duty as a proxmox server.
All devices have been assigned static IPv4 and IPv6 addresses. I noticed that my Proxmox laptop wasn't resolving my Adguard DNS rewrites while my workstation was. I've tried both with the GUI and the free form rewrites rules.
I started to dig
into it further. From my workstation I get a successful reply:
dig ..house
; <<>> DiG 9.18.12-0ubuntu0.22.04.3-Ubuntu <<>> ..house
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55882
;; flags: qr rd ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;..house. IN A
;; ANSWER SECTION:
..house. 0 IN A 192.168..
;; Query time: 10 msec
;; SERVER: #53(172.29.208.1) (UDP)
;; WHEN: Tue Jan 23 15:17:18 CET 2024
;; MSG SIZE rcvd: 82
Now when I try to do the same on my proxmox machine:
dig ..house
; <<>> DiG 9.16.33-Debian <<>> ..house
;; global options: +cmd
;; connection timed out; no servers could be reached
Now the strange part is that when I do the same query for the AAAA record I get a reply from the expected nameserver:
dig ..house AAAA
; <<>> DiG 9.16.33-Debian <<>> ..house AAAA
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61659
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;..house. IN AAAA
;; Query time: 4 msec
;; SERVER: 192.168.178.57#53(192.168.178.57)
;; WHEN: Tue Jan 23 15:22:13 CET 2024
;; MSG SIZE rcvd: 42
When I look at the query logs both queries successfully reach the nameserver and are replied to appropriately with no errors:
I'm completely at a loss and have already lost days trying to debug this issue. Who can help me out?
Edit: there's no visible error logs in the HA Pi's Adguard addon.