support for public or private cnames