Those requests are blocked due to the domain being in your gravity database (which constitute from your adlists). If you want to access the domain, you need to whitelist it. This has nothing to do with your local DNS records.
The issue wasn't with the blocked domains, but rather the client that is making the request. I added a local dns entry of "unifi", and then removed it but it still showing in the logs
That screenshot was just meant to show the domain unifi itself rather than focus on the domain being blocked.
Pi-hole refreshed IPv4 hostnames only once an hour. (https://docs.pi-hole.net/ftldns/configfile/#refresh_hostnames). You might only need to wait a little (I guess you can speed this up with a restart of the DNS resolver). What's the upstream DNS server of your Pi-hole? Some public DNS server? Did you configure conditional forwarding?
You know now that I look at it, the log entries are from yesterday and the domain is no longer showing in the logs. It does appear however that the network table still has it, even after flushing: