Wildcard character in a domain name - Firewall

we are having very mixed results when using the wildcard character within a domain name, ie. *.mydomain.com when configuring Outbound Firewall rules. Is this feature works or we need to explicitly specify the domain name?