add CNAME and resource