I use pihole to do this with regex. something like this:\.(zip|mov)$
||*.zip^
I had the same question, and I found a solution (more a workaround) by adding a domain override into Unbound.1. Go to Services: Unbound DNS: Overrides -> Domain Overrides2. Add a new entry with the following values Domain: zip IP: 0.0.0.0This will forward all domain queries for the TLD zip to the nameserver IP 0.0.0.0, and the queries will run into a timeout. If you experience performance issues due to waiting for the timeout, you can change the IP to an existing internal IP, which refuse (not block!) DNS queries on port 53.A query forwarding will also work (Services: Unbound DNS: Query Forwarding).