I have done this before, but i cant seem to remember how. The monkey that turns the wheel in my head must have the day off. We have a teamspeak server at 64.xx.xx.xx:8595. Instead of posting the ip to the various forums and such we want to use ts.mydomain.com. When you enter ts.mydomain.com into teamspeak as the ip, the server then needs to send that request to the ip:port.
I cant remember how the fuck i did it.