If you ask for a CNAME then you need to look only at the last entry from dig or else you just get the referenced name back