Set cname settings.