Add subdomain matching to SQL black/whitelists