Using :
Pi-hole version is v5.8.1 (Latest: v5.8.1)
AdminLTE version is v5.10.1 (Latest: v5.10.1)
FTL version is v5.13 (Latest: v5.13)
and
Stubby 0.2.5 (upstream NextDNS)
- Issue
Pihole dashboard says SERVFAIL for DNS queries
Internet is cut off (naturally due to DNS not resolving)
Stubby logs show this weird error :
Jan 13 15:41:27 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Frequency : once every 2 days.
- Fix : Restarting stubby daemon helps and DNS starts resolving.
Syslog in R-Pi :
Jan 13 14:39:24 raspberrypi systemd[1]: Starting Clean php session files...
Jan 13 14:39:25 raspberrypi systemd[1]: phpsessionclean.service: Succeeded.
Jan 13 14:39:25 raspberrypi systemd[1]: Started Clean php session files.
Jan 13 14:40:01 raspberrypi CRON[8740]: (root) CMD ( PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker local)
Jan 13 14:50:01 raspberrypi CRON[8813]: (root) CMD ( PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker local)
Jan 13 14:53:01 raspberrypi CRON[8851]: (root) CMD ( PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker remote)
Jan 13 14:56:11 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 14:56:11 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 14:56:11 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 14:56:11 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:00:01 raspberrypi CRON[8918]: (root) CMD ( PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker local)
Jan 13 15:09:01 raspberrypi CRON[8987]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jan 13 15:09:24 raspberrypi systemd[1]: Starting Clean php session files...
Jan 13 15:09:25 raspberrypi systemd[1]: phpsessionclean.service: Succeeded.
Jan 13 15:09:25 raspberrypi systemd[1]: Started Clean php session files.
Jan 13 15:10:01 raspberrypi CRON[9045]: (root) CMD ( PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker local)
Jan 13 15:17:01 raspberrypi CRON[9105]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 13 15:20:01 raspberrypi CRON[9132]: (root) CMD ( PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker local)
Jan 13 15:30:01 raspberrypi CRON[9209]: (root) CMD ( PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker local)
Jan 13 15:35:09 raspberrypi rngd[404]: stats: bits received from HRNG source: 7880064
Jan 13 15:35:09 raspberrypi rngd[404]: stats: bits sent to kernel pool: 7827168
Jan 13 15:35:09 raspberrypi rngd[404]: stats: entropy added to kernel pool: 7827168
Jan 13 15:35:09 raspberrypi rngd[404]: stats: FIPS 140-2 successes: 394
Jan 13 15:35:09 raspberrypi rngd[404]: stats: FIPS 140-2 failures: 0
Jan 13 15:35:09 raspberrypi rngd[404]: stats: FIPS 140-2(2001-10-10) Monobit: 0
Jan 13 15:35:09 raspberrypi rngd[404]: stats: FIPS 140-2(2001-10-10) Poker: 0
Jan 13 15:35:09 raspberrypi rngd[404]: stats: FIPS 140-2(2001-10-10) Runs: 0
Jan 13 15:35:09 raspberrypi rngd[404]: stats: FIPS 140-2(2001-10-10) Long run: 0
Jan 13 15:35:09 raspberrypi rngd[404]: stats: FIPS 140-2(2001-10-10) Continuous run: 0
Jan 13 15:35:09 raspberrypi rngd[404]: stats: HRNG source speed: (min=338.967; avg=512.547; max=535.954)Kibits/s
Jan 13 15:35:09 raspberrypi rngd[404]: stats: FIPS tests speed: (min=10.993; avg=12.881; max=31.371)Mibits/s
Jan 13 15:35:09 raspberrypi rngd[404]: stats: Lowest ready-buffers level: 2
Jan 13 15:35:09 raspberrypi rngd[404]: stats: Entropy starvations: 0
Jan 13 15:35:09 raspberrypi rngd[404]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us
Jan 13 15:39:01 raspberrypi CRON[9279]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jan 13 15:39:24 raspberrypi systemd[1]: Starting Clean php session files...
Jan 13 15:39:25 raspberrypi systemd[1]: phpsessionclean.service: Succeeded.
Jan 13 15:39:25 raspberrypi systemd[1]: Started Clean php session files.
Jan 13 15:40:01 raspberrypi CRON[9335]: (root) CMD ( PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker local)
Jan 13 15:41:27 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:41:27 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:41:27 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:41:27 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:43:36 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:43:36 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:43:36 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:43:36 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:45:43 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:45:43 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:45:43 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:45:43 raspberrypi stubby[19413]: Could not get qname from query: A helper function for dicts had a name argument that for a name that is not in the dict.
Jan 13 15:49:03 raspberrypi systemd[1]: Started Session c86 of user pi.
I tried running the same update commands mentioned in logs above and Stubby is not impacted.
Documentation for this error is present here | Under section GETDNS_RETURN_NO_SUCH_DICT_NAME
Is it caused by Pihole update cron or could be due to upstream provider?