URL Filter is part of Squid ( HTTP proxy ). For HTTPS the access to some sites is blocked, if the client uses IPFires Squid only for web access and the destination address isn’t resolved by other means.
To block access to unwanted sites, I recommend the DNS blocking tool ( RPZ in unbound ).
BTW adguard blocks name resolution also to do the job. Your examples are in the syntax of adguard.