I'm looking to get my mydomain.com and *.mydomain.com redirected to sub.domain.com only using DNS if at all possible. This is all the same domain.
So that:
www.domain.com -> sub.mydomain.com
mydomain.com -> sub.mydomain.com
anything.mydomain.com -> sub.mydomain.com