Surprisingly, the issue doesn't resolve itself with a reboot. The PC is shutdown daily and it doesn't clear unless I use those commands followed by a reboot. I forgot that this laptop also has the same issue but it doesn't come up as the kids don't use it but the software is installed just incase. No VLANS just straight shared IP range currently with all PCs apart from the homelab and AD servers being served by DHCP/DNS from the AD servers.
As this laptop isn't connecting either, I did some tests and it can resolve the DNS name for the kaspersky server in the dns resolver but it wouldn't reverse lookup the two IPs that came up. releasing and renewing the IP address on the laptop allowed it to sync the settings (unblocked the flow to the Kaspersky server) but again it won't resolve the IP address and it won't via google dns either... it just says a non-existant domain using nslookup. I'm not sure how this could be part of the problem though as its only affecting those PCs connected via the Wifi network and not wired in via one of the switches.
As I understand it (VERY simplistically) all the DNS is doing for you is taking the URL you typed in and doing a directory search that finds the correct IP address(es) that match that and then your device will interact with the human-unfriendly machine IP address. So if that's not working then either the DNS server is tar-pitting or denying Kaspersky's DNS requests (which is possible) or the DNS server value on a device in the network is changing to something that isn't a working DNS server.
Are your access points on AUTO configuration and nightly optimisation? If they are, switch that off.
Is the UDM Pro acting as a router or is that the AD server? What is giving the access points their IP addresses? Do they always get the right DNS server from whatever is giving them their IP address? I'm sure you don't have two routers on the network so is the UDM Pro just functioning as a 1U Cloud Key?
From your post above it looks like whatever the AP DNS server is isn't working for Kaspersky.
If you google "Kaspersky Kids DNS issues" you're not alone in having the problem. And "Kaspersky DNS issues" is even worse.
I would really like to understand how your network is set up as you have a DHCP/DNS server if the UDM Pro is a functioning router and then you have another DHCP/DNS server in the AD box so which one is giving the access points their network settings?
Sorry if my thinking aloud comes across as 'mansplaining'. If you have an AD server running you clearly have some knowledge so it's more me trying to work out where everything is getting their settings from.
Direct connection over wires goes straight to the AD server and that works.
Connection through the AP stops working so what DNS server is the information going to over the access point? That's the question I think we need to answer to resolve the issue.