I have 2 piholes. My main one is a LXC container on my server works like a charm. So if I bounce the server I have a backup pihole (to mitigate sons and wife staging mutiny) so I have one running on a OrangePi. Worked 100% until something fried on the board. So replaced it with a OrangePi Zero2 (Armbian buster). Since then it won't quite work. I have a network controlled by a Unifi UDM Pro and it spans across several VLANs but all that should not materially involve this issue.
Pihole is set up to use coludflare DoH service on same OPi on 5353.
What I see on pihole 192.168.88.8:
dig @127.0.0.1 google.com
; <<>> DiG 9.16.1-Ubuntu <<>> @127.0.0.1 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37103
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 167 IN A 142.250.66.238
;; Query time: 196 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jun 29 17:17:48 NZST 2021
;; MSG SIZE rcvd: 65
and:
dig @192.168.88.8 google.com
; <<>> DiG 9.16.1-Ubuntu <<>> @192.168.88.8 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47815
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 51 IN A 142.250.66.238
;; Query time: 36 msec
;; SERVER: 192.168.88.8#53(192.168.88.8)
;; WHEN: Tue Jun 29 17:19:44 NZST 2021
;; MSG SIZE rcvd: 55
But from 192.168.89.57 (sorry Windowze):
nslookup google.com 192.168.88.8
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 192.168.88.8
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
And from 192.168.88.7:
dig @192.168.88.8 google.com
; <<>> DiG 9.16.1-Ubuntu <<>> @192.168.88.8 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16985
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 187 IN A 142.250.66.238
;; Query time: 47 msec
;; SERVER: 192.168.88.8#53(192.168.88.8)
;; WHEN: Tue Jun 29 17:22:09 NZST 2021
;; MSG SIZE rcvd: 65
There are several more machines it works from and some that it doesn't. There ar eno FW blocking traffic or anything like that. tcpdump shows traffic coming in on port 53 and i cannot see any other contending service on any of the involved ports.
tcpdump -i eth0 port 53
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
16:50:43.384574 IP 192.168.89.103.61325 > pihole.domain: 42231+ A? corp.bank.nzpfs.co.nz. (39)
16:50:43.387913 IP pihole.44271 > pihole-1.domain: 4234+ PTR? 103.89.168.192.in-addr.arpa. (45)
16:50:43.389544 IP pihole-1.domain > pihole.44271: 4234 NXDomain 0/0/1 (56)
16:50:43.392536 IP pihole.37681 > pihole-1.domain: 17981+ PTR? 8.88.168.192.in-addr.arpa. (43)
16:50:43.392988 IP pihole-1.domain > pihole.37681: 17981* 1/0/0 PTR pihole. (63)
16:50:43.394124 IP pihole.59720 > pihole-1.domain: 56339+ PTR? 88.88.168.192.in-addr.arpa. (44)
16:50:43.394530 IP pihole-1.domain > pihole.59720: 56339* 1/0/0 PTR pihole-1. (66)
16:50:45.392417 IP 192.168.89.103.61326 > pihole.domain: 50198+ A? corp.bank.nzpfs.co.nz. (39)
16:50:45.848480 IP 192.168.89.103.64566 > pihole.domain: 23497+ A? community.dynatrace.com. (41)
16:50:52.326579 IP 192.168.89.57.52229 > pihole.domain: 1+ PTR? 8.88.168.192.in-addr.arpa. (43)
16:50:52.327580 IP pihole.42748 > pihole-1.domain: 7774+ PTR? 57.89.168.192.in-addr.arpa. (44)
16:50:52.328850 IP pihole-1.domain > pihole.42748: 7774 NXDomain 0/0/1 (55)
16:50:54.334020 IP 192.168.89.57.53189 > pihole.domain: 2+ A? pihole.home. (29)
16:50:56.335253 IP 192.168.89.57.53190 > pihole.domain: 3+ AAAA? pihole.home. (29)
16:51:04.413431 IP defiant88.48885 > pihole.domain: 57685+ [1au] A? google.de. (50)
Here is debug link. I couldn't find anything obvious.
https://tricorder.pi-hole.net/zoklksweqh
This is doing my head in. I hope someone can point me in a direction I can have a look. Thanks heaps in advance!
oliver