Log timeouts as timeouts

Recently I set the pihole as only available host for DNS requests via firewall. Unfortunally I also blocked the pihole for a short time while the rules were rolled out. My pihole said that the request was okay (but IP is N/A):

Before I had another problem. My pihole (in a 10.1.3.0/24 network) had the setting "10.1.3.53/23" in /etc/dhcpcd.conf. This resulted in undeliverable DNS-responses to 10.1.2.0/24 as the pihole didn't take the way over the gateway and asked the 10.1.3.0/23-network (==10.1.2.0-10.1.3.255) via ARP instead. Here was the response in the query log also "OK". I spend much time into it and found the invalid netmask, when I tried to change the IP while transfering data from the pihole to a new one. A simple "Packet undeliverable, ARP not successful" would have helped me very much!

Following feature requests:

  • Pihole detects and logs, when a upstream DNS-Server timeouted.
  • Pihole detects and logs, when a UDP-packet couldn't be sent due invalid or missing ARP responses