HTTPS showing in Query log

That is not a domain, but a URL.

We've seen similar mis-shaped queries for invalid domains in the past, mainly in the form of https://app-measurement.com/xxx. That would likely be caused by some application created using a faulty firebase SDK .

While it doesn't make sense to query a DNS server for a URL, it's also nothing to worry about.
URLs will never resolve to anything with DNS, so there is also no need to block them.