Completely wrong, dont just munge someone's email and hope it wont work, we literally have domains for this kind of stuff.
https://www.iana.org/domains/reserved
DNS is a very old protocol that still has lots of problems and mitigations like DNSSEC are only partially deployed.