added cname and protocol