So im really not sure what's happening here, I still seem to be getting the SERVFAIL reply, for some domains, and not others.
May 3 17:32:56 dnsmasq[4003]: query[A] xboxapi.com from 192.168.0.133
May 3 17:32:56 dnsmasq[4003]: forwarded xboxapi.com to 127.0.0.1
May 3 17:32:56 dnsmasq[4003]: forwarded xboxapi.com to 127.0.0.1
May 3 17:32:56 dnsmasq[4003]: reply error is SERVFAIL
May 3 17:33:01 dnsmasq[4003]: query[A] xboxapi.com from 192.168.0.133
May 3 17:33:01 dnsmasq[4003]: forwarded xboxapi.com to 127.0.0.1
May 3 17:33:01 dnsmasq[4003]: forwarded xboxapi.com to 127.0.0.1
May 3 17:33:01 dnsmasq[4003]: reply error is SERVFAIL
May 3 17:33:01 dnsmasq[4003]: query[A] www.google-analytics.com from 192.168.0.128 May 3 17:33:01 dnsmasq[4003]: /etc/pihole/gravity.list www.google-analytics.com is 0.0.0.0
May 3 17:33:06 dnsmasq[4003]: query[A] xboxapi.com.local from 192.168.0.133
May 3 17:33:06 dnsmasq[4003]: cached xboxapi.com.local is NXDOMAIN
May 3 17:33:06 dnsmasq[4003]: query[AAAA] xboxapi.com.local from 192.168.0.133
May 3 17:33:06 dnsmasq[4003]: cached xboxapi.com.local is NODATA-IPv6
Unless I'm misinterpreting the log, xboxapi.com returns servfail and then doesn't?
In the query log in the GUI, they appear as green and forwarded, but the reply is N/A? @jfb would you mind casting your eye on the debug log please? I'm not sure if this is an unbound issue, or a pihole issue, or a config error (i.e my doing) https://tricorder.pi-hole.net/3sbtjg2dpj!
I don't see any problems in the debug log. Using my local install of unbound, I can dig for xboxapi.com with no problems.
In your log output, xboxapi.com is resulting in SERVFAIL, but the domain with .local appended does not, but it doesn't exist on the internet so there is nothing to authenticate.
I think the problem is with your unbound install.
What is the output of this command from the Pi terminal:
I'm still at a loss as to why it literally just stopped working. I made absolutely no changes to any config.
And a reinstall of unbound results in the same behaviour.
How can I be absolutely sure time is correct on the pi?
Could it be linked to daylight savings?
I'm in the UK, where it is BTS - British summer time
pi@pi-hole:~ $ date
Fri 3 May 18:47:53 BST 2019
pi@pi-hole:~ $ timedatectl
Local time: Fri 2019-05-03 18:47:57 BST
Universal time: Fri 2019-05-03 17:47:57 UTC
RTC time: n/a
Time zone: Europe/London (BST, +0100)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no
Your unbound seems to be only binding to 127.0.0.1. This is very strange. If you unbound.conf is still exactly as on out guide, you may want try explicitly adding
server:
interface: 0.0.0.0
(add interface somewhere under the already existing server category)
followed by a