Revert "Revert "add cname""

This reverts commit 9f11b9c8677563181d0a5cb6b25ac3f8bc1d859a.