Fixing CNAME encoding