There’s data on each individual dns query’s duration. This is especially interesting when they result from being forwarded to upstream dns servers:
Since Pi-hole offers lots of different upstream dns options (I currently have it running with BIND9 as a backend), it would be quite interesting to get statistical data about the average time of those backend dns resolutions. This way, we could use Google, Quad9 and the likes each for a day and compare average resolution times to select the fastest backend from this time on.
Since Pi-hole stores the data required for this anyway, is there a way to access it easily?