Basic question about whitelisting

No, it does not. You will need to whitelist each domain/subdomain.