Hi there, I’ve just done the switch from NextDNS to PiHole. Simply because I want to test it out + self-host my DNS. I set up PiHole+Unbound two days ago, and yesterday the amount of “Queries blocked” was much higher that it is now. But this morning the number was down back to 100ish. Is this normal behaviour, is it supposed to reset the counter? I’d rather it didn’t. Let me know if this is my fault or a setting I’ve managed to miss.

Thank you.

  • SolidGrue@lemmy.world
    link
    fedilink
    English
    arrow-up
    37
    arrow-down
    1
    ·
    29 days ago

    That counter, I believe, for the last 24 hours. It will fluctuate up and down across your active daily periods

    • Sunny' 🌻@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      29 days ago

      Oh okay good to know, is there a way to change this though? Would be “cooler” to see the total amount imo.

      • SolidGrue@lemmy.world
        link
        fedilink
        English
        arrow-up
        16
        arrow-down
        2
        ·
        29 days ago

        So, like a running sum? No, I don’t think so, not in Pi-hole at least.

        Pi-hole does have an API you could scrape, though. A Prometheus stack could track it and present a dashboard that shows the summation you want. There are other stats you could pull as well. This is a quick sample of what my home assistant integration sees

          • SolidGrue@lemmy.world
            link
            fedilink
            English
            arrow-up
            19
            arrow-down
            2
            ·
            29 days ago

            Ah, well if you know differently then please do share with the rest of us? I think the phrasing in my post makes it pretty clear I was open to being corrected.