Redirecting from any hostname to any other hostname

Why would I do this?

You moved to a new domain.

You purchased a typo domain.

How do I set this up?

Add a CNAME record for the hostname pointing to

Add a TXT record for the hostname with the value

You generally want to do this for all hostnames in the domain, usually at least @ and www.