added support for whitelisting up to three domains

#ncr-9 deployed to dev