Changing DNS servers in the Windows settings means clicking through several screens per adapter. In an elevated PowerShell window it is one line, and it is easy to undo.
First see your adapters and what they use now:
Get-DnsClientServerAddress -AddressFamily IPv4
Then set one or more servers on an adapter by its name:
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses ("192.0.2.53","192.0.2.54")
Microsoft’s docs say these addresses are static and override what DHCP hands out for that interface. That is the point when you want a test machine on your own Pi-hole or AdGuard Home, but also the reason to undo it on a laptop that travels. -Validate checks that the servers answer before it sets them.
Back to whatever DHCP gives:
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ResetServerAddresses
Adapter names differ per machine, so use the names from the first command. Wi-Fi is often just Wi-Fi.
IPv6 has its own DNS servers. If the adapter also gets an IPv6 DNS server from the router, Windows may ask that one too and your filter misses part of the traffic. I’d check the IPv6 list with -AddressFamily IPv6 as well.
Further reading: Set-DnsClientServerAddress, Get-DnsClientServerAddress