added cname support