On Thu, Sep 03, 2020 at 06:13:41PM +0200, Florian Obser wrote: > Then reload the ruleset and restart unwind: > > # pfctl -f /etc/pf.conf > # rcctl restart unwind > > You can now get stats on how often your machine talks to the root name > servers: > > # pfctl -s label > rootdns_tcp 2730 0 0 0 0 0 0 0 > rootdns_udp 266 2 187 1 56 1 131 0 It may be worth noting here that reloading the ruleset also resets label counters, so if you change your pf.conf while running florian's config, make sure to dump counters beforehand.
> The columns are: label, evaluations, packets total, bytes total, > packets in, bytes in, packets out, bytes out, state creations > > Please report the stats after a day of normal use, thanks.
