tests/dns: Add additional testing of CNAME handling