How to add complex sites to firewall?

How to add complex sites to firewall outgoing connections? the help pages tell of using of qvm-firewall, tried adding domain name to the list like example.com but for complex site that does not work, as it uses different subdomains and other sites to fetchdata. How the firewall can be set in this case