Please follow the below template, it will help us to help you!
Whenever I try to go to af.mil I get a SERVFAIL. I did some searching through the forums and noticed that this happens a lot with UNBOUND but I'm not running UNBOUND.
Pihole forwards to OpenDNS. Everything else works except websites ending in .af.mil.
If I take my phone off of WiFi I can access the webpage fine, it's also been this was for almost 2 weeks. I know the government is slow, but why would I be able to access it via cell network if the issue was related to the serial?
Please generate a new debug log and post the token. Also, please post the output of any transactions in /var/log/pihole.log that result in a SERVFAIL reply. They might look something like this example:
Jun 9 10:06:10 dnsmasq[7676]: query[A] www.vodcars.com from 192.168.0.135
Jun 9 10:06:10 dnsmasq[7676]: forwarded www.vodcars.com to 127.0.0.1
Jun 9 10:06:11 dnsmasq[7676]: forwarded www.vodcars.com to 127.0.0.1
Jun 9 10:06:11 dnsmasq[7676]: reply error is SERVFAIL
pi@raspberrypi:~ $ sudo cat /var/log/pihole.log | grep -B4 "SERVFAIL"
Jun 9 10:59:42 dnsmasq[1356]: query[A] watson.telemetry.microsoft.com from 192.168.2.88
Jun 9 10:59:42 dnsmasq[1356]: gravity blocked watson.telemetry.microsoft.com is 192.168.2.196
Jun 9 10:59:42 dnsmasq[1356]: query[A] www.google.com from 71.179.105.215
Jun 9 10:59:42 dnsmasq[1356]: cached www.google.com is 172.217.13.68
Jun 9 10:59:43 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 11:00:00 dnsmasq[1356]: query[A] docs.google.com from 192.168.2.160
Jun 9 11:00:00 dnsmasq[1356]: forwarded docs.google.com to 208.67.220.220
Jun 9 11:00:00 dnsmasq[1356]: forwarded docs.google.com to 208.67.222.222
Jun 9 11:00:00 dnsmasq[1356]: reply docs.google.com is 172.217.13.78
Jun 9 11:00:00 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 11:00:04 dnsmasq[1356]: forwarded 113.63.253.172.in-addr.arpa to 208.67.220.220
Jun 9 11:00:04 dnsmasq[1356]: query[PTR] 113.63.253.172.in-addr.arpa from 192.168.2.160
Jun 9 11:00:04 dnsmasq[1356]: forwarded 113.63.253.172.in-addr.arpa to 208.67.222.222
Jun 9 11:00:04 dnsmasq[1356]: forwarded 113.63.253.172.in-addr.arpa to 208.67.220.220
Jun 9 11:00:05 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 11:01:38 dnsmasq[1356]: forwarded 101.31.250.142.in-addr.arpa to 208.67.222.222
Jun 9 11:01:38 dnsmasq[1356]: forwarded 101.31.250.142.in-addr.arpa to 208.67.220.220
Jun 9 11:01:38 dnsmasq[1356]: query[PTR] 133.164.217.172.in-addr.arpa from 192.168.2.160
Jun 9 11:01:38 dnsmasq[1356]: cached 172.217.164.133 is iad30s24-in-f5.1e100.net
Jun 9 11:01:38 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 11:02:06 dnsmasq[1356]: query[PTR] 234.13.217.172.in-addr.arpa from 192.168.2.160
Jun 9 11:02:06 dnsmasq[1356]: cached 172.217.13.234 is iad23s61-in-f10.1e100.net
Jun 9 11:02:06 dnsmasq[1356]: query[PTR] 65.15.217.172.in-addr.arpa from 192.168.2.160
Jun 9 11:02:06 dnsmasq[1356]: cached 172.217.15.65 is iad23s63-in-f1.1e100.net
Jun 9 11:02:06 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 11:02:11 dnsmasq[1356]: forwarded rpns.cs.roku.com to 208.67.220.220
Jun 9 11:02:11 dnsmasq[1356]: forwarded rpns.cs.roku.com to 208.67.222.222
Jun 9 11:02:11 dnsmasq[1356]: reply rpns.cs.roku.com is 54.175.22.16
Jun 9 11:02:11 dnsmasq[1356]: reply rpns.cs.roku.com is 52.73.146.238
Jun 9 11:02:11 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 11:02:41 dnsmasq[1356]: forwarded us.tmobile.rcs.telephony.goog to 208.67.220.220
Jun 9 11:02:41 dnsmasq[1356]: forwarded us.tmobile.rcs.telephony.goog to 208.67.222.222
Jun 9 11:02:41 dnsmasq[1356]: query[SRV] _sips._tcp.us.tmobile.rcs.telephony.goog from 192.168.2.217
Jun 9 11:02:41 dnsmasq[1356]: forwarded _sips._tcp.us.tmobile.rcs.telephony.goog to 208.67.220.220
Jun 9 11:02:41 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:18:17 dnsmasq[1356]: forwarded owa.us.af.mil to 208.67.222.222
Jun 9 13:18:17 dnsmasq[1356]: query[A] owa.us.af.mil from 192.168.2.88
Jun 9 13:18:17 dnsmasq[1356]: forwarded owa.us.af.mil to 208.67.220.220
Jun 9 13:18:17 dnsmasq[1356]: forwarded owa.us.af.mil to 208.67.222.222
Jun 9 13:18:17 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:18:22 dnsmasq[1356]: query[A] owa.us.af.mil from 192.168.2.88
Jun 9 13:18:22 dnsmasq[1356]: forwarded owa.us.af.mil to 208.67.220.220
Jun 9 13:18:22 dnsmasq[1356]: forwarded owa.us.af.mil to 208.67.222.222
Jun 9 13:18:22 dnsmasq[1356]: forwarded owa.us.af.mil to 208.67.220.220
Jun 9 13:18:22 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:18:27 dnsmasq[1356]: forwarded owa.us.af.mil to 208.67.220.220
Jun 9 13:18:27 dnsmasq[1356]: query[A] owa.us.af.mil from 192.168.2.88
Jun 9 13:18:27 dnsmasq[1356]: forwarded owa.us.af.mil to 208.67.222.222
Jun 9 13:18:27 dnsmasq[1356]: forwarded owa.us.af.mil to 208.67.220.220
Jun 9 13:18:27 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:18:41 dnsmasq[1356]: forwarded owa.us.af.mil to 208.67.222.222
Jun 9 13:18:41 dnsmasq[1356]: query[A] owa.us.af.mil from 192.168.2.88
Jun 9 13:18:41 dnsmasq[1356]: forwarded owa.us.af.mil to 208.67.220.220
Jun 9 13:18:41 dnsmasq[1356]: forwarded owa.us.af.mil to 208.67.222.222
Jun 9 13:18:41 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:19:51 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.220.220
Jun 9 13:19:51 dnsmasq[1356]: query[A] afrc.eim.us.af.mil from 192.168.2.88
Jun 9 13:19:51 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.222.222
Jun 9 13:19:51 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.220.220
Jun 9 13:19:51 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:19:56 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.220.220
Jun 9 13:19:56 dnsmasq[1356]: query[A] afrc.eim.us.af.mil from 192.168.2.88
Jun 9 13:19:56 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.222.222
Jun 9 13:19:56 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.220.220
Jun 9 13:19:56 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:20:04 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.220.220
Jun 9 13:20:04 dnsmasq[1356]: query[A] afrc.eim.us.af.mil from 192.168.2.88
Jun 9 13:20:04 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.222.222
Jun 9 13:20:04 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.220.220
Jun 9 13:20:05 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:20:09 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.222.222
Jun 9 13:20:09 dnsmasq[1356]: query[A] afrc.eim.us.af.mil from 192.168.2.88
Jun 9 13:20:09 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.220.220
Jun 9 13:20:09 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.222.222
Jun 9 13:20:09 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:21:56 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.220.220
Jun 9 13:21:56 dnsmasq[1356]: query[A] afrc.eim.us.af.mil from 192.168.2.88
Jun 9 13:21:56 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.222.222
Jun 9 13:21:56 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.220.220
Jun 9 13:21:56 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:22:05 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.222.222
Jun 9 13:22:05 dnsmasq[1356]: query[A] afrc.eim.us.af.mil from 192.168.2.88
Jun 9 13:22:05 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.220.220
Jun 9 13:22:05 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.222.222
Jun 9 13:22:05 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:22:27 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.222.222
Jun 9 13:22:27 dnsmasq[1356]: query[A] afrc.eim.us.af.mil from 192.168.2.88
Jun 9 13:22:27 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.220.220
Jun 9 13:22:27 dnsmasq[1356]: forwarded afrc.eim.us.af.mil to 208.67.222.222
Jun 9 13:22:27 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:36:13 dnsmasq[1356]: query[A] federation.prod.cce.af.mil from 192.168.2.88
Jun 9 13:36:13 dnsmasq[1356]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 13:36:13 dnsmasq[1356]: forwarded federation.prod.cce.af.mil to 208.67.222.222
Jun 9 13:36:13 dnsmasq[1356]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 13:36:13 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:36:19 dnsmasq[1356]: query[A] federation.prod.cce.af.mil from 192.168.2.88
Jun 9 13:36:19 dnsmasq[1356]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 13:36:19 dnsmasq[1356]: forwarded federation.prod.cce.af.mil to 208.67.222.222
Jun 9 13:36:19 dnsmasq[1356]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 13:36:19 dnsmasq[1356]: reply error is SERVFAIL
--
Jun 9 13:45:49 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 13:45:49 dnsmasq[1388]: query[A] federation.prod.cce.af.mil from 192.168.2.88
Jun 9 13:45:49 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.222.222
Jun 9 13:45:49 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 13:45:49 dnsmasq[1388]: reply error is SERVFAIL
--
Jun 9 13:46:09 dnsmasq[1388]: query[A] federation.prod.cce.af.mil from 192.168.2.88
Jun 9 13:46:09 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 13:46:10 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.222.222
Jun 9 13:46:10 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 13:46:10 dnsmasq[1388]: reply error is SERVFAIL
--
Jun 9 13:46:15 dnsmasq[1388]: query[A] federation.prod.cce.af.mil from 192.168.2.88
Jun 9 13:46:15 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 13:46:15 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.222.222
Jun 9 13:46:15 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 13:46:15 dnsmasq[1388]: reply error is SERVFAIL
--
Jun 9 13:48:29 dnsmasq[1388]: query[A] owa.us.af.mil from 192.168.2.88
Jun 9 13:48:29 dnsmasq[1388]: forwarded owa.us.af.mil to 208.67.222.222
Jun 9 13:48:30 dnsmasq[1388]: forwarded owa.us.af.mil to 208.67.220.220
Jun 9 13:48:30 dnsmasq[1388]: forwarded owa.us.af.mil to 208.67.222.222
Jun 9 13:48:30 dnsmasq[1388]: reply error is SERVFAIL
--
Jun 9 13:48:35 dnsmasq[1388]: query[A] owa.us.af.mil from 192.168.2.88
Jun 9 13:48:35 dnsmasq[1388]: forwarded owa.us.af.mil to 208.67.222.222
Jun 9 13:48:35 dnsmasq[1388]: forwarded owa.us.af.mil to 208.67.220.220
Jun 9 13:48:35 dnsmasq[1388]: forwarded owa.us.af.mil to 208.67.222.222
Jun 9 13:48:35 dnsmasq[1388]: reply error is SERVFAIL
--
Jun 9 15:22:57 dnsmasq[1388]: query[A] federation.prod.cce.af.mil from 192.168.2.143
Jun 9 15:22:57 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 15:22:57 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.222.222
Jun 9 15:22:57 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 15:22:57 dnsmasq[1388]: reply error is SERVFAIL
Jun 9 15:22:57 dnsmasq[1388]: query[A] federation.prod.cce.af.mil from 192.168.2.143
Jun 9 15:22:57 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 15:22:58 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.222.222
Jun 9 15:22:58 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 15:22:58 dnsmasq[1388]: reply error is SERVFAIL
--
Jun 9 15:22:58 dnsmasq[1388]: query[A] federation.prod.cce.af.mil from 192.168.2.143
Jun 9 15:22:58 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.222.222
Jun 9 15:22:58 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 15:22:58 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.222.222
Jun 9 15:22:58 dnsmasq[1388]: reply error is SERVFAIL
Jun 9 15:22:58 dnsmasq[1388]: query[A] federation.prod.cce.af.mil from 192.168.2.143
Jun 9 15:22:58 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.222.222
Jun 9 15:22:58 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.220.220
Jun 9 15:22:58 dnsmasq[1388]: forwarded federation.prod.cce.af.mil to 208.67.222.222
Jun 9 15:22:58 dnsmasq[1388]: reply error is SERVFAIL
--
Jun 9 15:50:06 dnsmasq[1388]: query[AAAA] www.duckdns.org from 127.0.0.1
Jun 9 15:50:06 dnsmasq[1388]: cached www.duckdns.org is <CNAME>
Jun 9 15:50:06 dnsmasq[1388]: forwarded www.duckdns.org to 208.67.220.220
Jun 9 15:50:06 dnsmasq[1388]: forwarded www.duckdns.org to 208.67.222.222
Jun 9 15:50:07 dnsmasq[1388]: reply error is SERVFAIL
--
Jun 9 17:29:04 dnsmasq[1388]: forwarded e0bf5e42-a1c2-4a0e-872d-a2967bd27ce9.brokendnssec.net to 208.67.222.222
Jun 9 17:29:04 dnsmasq[1388]: reply e0bf5e42-a1c2-4a0e-872d-a2967bd27ce9.encryptedsni.com is 104.22.73.170
Jun 9 17:29:04 dnsmasq[1388]: reply e0bf5e42-a1c2-4a0e-872d-a2967bd27ce9.encryptedsni.com is 172.67.13.180
Jun 9 17:29:04 dnsmasq[1388]: reply e0bf5e42-a1c2-4a0e-872d-a2967bd27ce9.encryptedsni.com is 104.22.72.170
Jun 9 17:29:04 dnsmasq[1388]: reply error is SERVFAIL
Jun 9 17:29:04 dnsmasq[1388]: query[A] e0bf5e42-a1c2-4a0e-872d-a2967bd27ce9.brokendnssec.net from 192.168.2.143
Jun 9 17:29:04 dnsmasq[1388]: forwarded e0bf5e42-a1c2-4a0e-872d-a2967bd27ce9.brokendnssec.net to 208.67.222.222
Jun 9 17:29:04 dnsmasq[1388]: forwarded e0bf5e42-a1c2-4a0e-872d-a2967bd27ce9.brokendnssec.net to 208.67.220.220
Jun 9 17:29:04 dnsmasq[1388]: forwarded e0bf5e42-a1c2-4a0e-872d-a2967bd27ce9.brokendnssec.net to 208.67.222.222
Jun 9 17:29:04 dnsmasq[1388]: reply error is SERVFAIL
Take your INPUT chain for example. It's set to ACCEPT as the default policy, but you have no DROP rules so nothing is going to be blocked. You also have the same rules repeated a few times. If the SERVFAIL is not caused by DNSSEC then there are communication issues between the Pi-hole and the upstream DNS servers.
So far I'm not seeing certain domains but random domains and not-reproduceable responses. Log shows a domain was SERVFAIL but a manual dig of that same domain doesn't.