Create SRV Records
SRV records allow end users to type in a domain and be directed to the server without needing a port. This is useful when using shared TeamSpeak hosts or when you're hsoting your own TeamSpeak and your TeamSpeak server does to run on the same IP as your webserver.
Creating an SRV record in CloudFlare
First of all we need to create an A record to point the SRV record to, browse to your domain and add a record like below.
After you press "Add Record" we need to add a SRV record change the dropdown menu from A to SRV, then click in the textbox next to SRV dropdown, and fill in the box like below.
The Service name should always be _ts3.
The Protocol should always be UDP.
The name should be what you want the user to be entering to connect, in this example if a user typed in example.com in to the TeamSpeak client it would send a client to ts.example.com:9987,
Press save, then click in the next box and fill that in like below.
Priority should always be 0.
Weight should always be 5.
The port here is your TeamSpeak servers port.
The target in this option box should point to the A record we made at the start.
Press Add Record. In the end you should have something that looks like below.
Try connecting to your server now, you should be all set.