CLOUD-322 added new method to support public private hostnames