TSDNS Sucks

Asphyxia

Owner
Administrator
Apr 25, 2015
1,845
2
2,199
327
I think TeamSpeak Systems GmbH should discontinue support for TSDNS. There is something called "service record" or SRV.

A Service record (SRV record) is a specification of data in the Domain Name System defining the location, i.e. the hostname and port number, of servers for specified services. It is defined in RFC 2782, and its type code is 33.

Code:
Service name: _ts3, Protocol: UDP, Priority: 1, Weight: 1, Port: 9994, Target: 192.168.1.4
Service name: _tsdns, Protocol: TCP, ... all the same as UDP.

TSDNS is literally a nightmare. It is redundant as it tries to act like DNS, which TSDNS is simply not a good DNS application. As you can see from the above code, it is very simple using a DNS SRV record to make your TeamSpeak 3 server work with a domain/subdomain. :p

Want to check the records using CMD?
Code:
nslookup q=srv _ts3._udp.r4p3.net
nslookup q=srv _tsdns._tcp.r4p3.net

Just to provide some history, SRV records have been a standard record within DNS since early 2000 as shown at the below link.
http://tools.ietf.org/html/rfc2782

Here is a CERT post regarding a "srv bug" which impacted ISC BIND and some additional SRV security links, this may spark some security research ideas:
http://www.cert.org/historical/advisories/CA-2000-20.cfm?
http://tools.cisco.com/security/cen...SubId=0&softwareVersion=5.1&releaseVersion=S3
https://www.rapid7.com/db/modules/auxiliary/dos/windows/smb/ms10_054_queryfs_pool_overflow
https://pentestlab.wordpress.com/tag/dns-enumeration/
https://www.rapid7.com/db/modules/auxiliary/gather/enum_dns
http://tools.kali.org/information-gathering/dnsrecon
http://dns.vanrein.org/srv/tools/
 
Last edited:

Personal

Member
Jan 29, 2016
1
1
35
I was literally just about to make a thread about this, I feel the same way.
 
Last edited by a moderator:

Augusto22xb

Member
Sep 26, 2015
33
2
40
Since the last update I am having trouble using the TSDNS.

Someone would have a solution as SRV , or even a TSDNS script online. (PHP)

If anyone can help me I appreciate it.

Sorry for the bad translation from Google Translate.

PT-BR:
Desde da ultima atualização estou com problemas para usar o TSDNS.
Alguem teria alguma solução usando o SRV, ou ate o um Script online para TSDNS. (PHP)
Se alguem puder me ajudar, obrigado.
Desculpe a mal tradução do Google Tradutor.
 

Yolo

Member
Jan 10, 2016
134
46
63
You can use ts3index.com is easy , fast and gratis :p

if you want a srv record you have to see the knowloedgebase of your provider
 

Asphyxia

Owner
Administrator
Apr 25, 2015
1,845
2
2,199
327
Since the last update I am having trouble using the TSDNS.

Someone would have a solution as SRV , or even a TSDNS script online. (PHP)

If anyone can help me I appreciate it.

Sorry for the bad translation from Google Translate.

PT-BR:
Desde da ultima atualização estou com problemas para usar o TSDNS.
Alguem teria alguma solução usando o SRV, ou ate o um Script online para TSDNS. (PHP)
Se alguem puder me ajudar, obrigado.
Desculpe a mal tradução do Google Tradutor.
Use this service with caution, I have not tested it although this looks like a solution to your problem: https://www.ts3dns.com/

Security warning: When someone controls your DNS, if they reroute connections this could cause a DoS (no one can connect) or traffic hijack. This could be dangerous, so you are much safer using your own domain name as mentioned below.

Setting up SRV records is very simple. You must edit your DNS in your domain control panel (usually). If you need help setting up SRV records, contact your domain name provider. They should be able to provide you with support. This is all the information you need to know:
Code:
Service name: _ts3, Protocol: UDP, Priority: 1, Weight: 1, Port: 9994, Target: 192.168.1.4
Service name: _tsdns, Protocol: TCP, ... all the same as UDP.
 

Augusto22xb

Member
Sep 26, 2015
33
2
40
Use this service with caution, I have not tested it although this looks like a solution to your problem: https://www.ts3dns.com/

Security warning: When someone controls your DNS, if they reroute connections this could cause a DoS (no one can connect) or traffic hijack. This could be dangerous, so you are much safer using your own domain name as mentioned below.

Setting up SRV records is very simple. You must edit your DNS in your domain control panel (usually). If you need help setting up SRV records, contact your domain name provider. They should be able to provide you with support. This is all the information you need to know:
Code:
Service name: _ts3, Protocol: UDP, Priority: 1, Weight: 1, Port: 9994, Target: 192.168.1.4
Service name: _tsdns, Protocol: TCP, ... all the same as UDP.


I need to do this with all the ips and separate ports ?? And I can do this using CPANEL ??
 

Asphyxia

Owner
Administrator
Apr 25, 2015
1,845
2
2,199
327
@Augusto --- yes, you would need to do this with all of the IP addresses and separate ports. Thankfully there are some DNS providers such as CloudFlare that offers an API. This means using PHP and their API (I think), you could type just the port and the subdomain. Then automatically fill the rest. ;)

If I was running a hosting company I would utilize the API and allow customers to select their own subdomain as long as it is not already in use. :)
 

Qraktzyl

Retired Staff
Contributor
Nov 2, 2015
997
723
161
@Augusto --- yes, you would need to do this with all of the IP addresses and separate ports. Thankfully there are some DNS providers such as CloudFlare that offers an API. This means using PHP and their API (I think), you could type just the port and the subdomain. Then automatically fill the rest. ;)

If I was running a hosting company I would utilize the API and allow customers to select their own subdomain as long as it is not already in use. :)

I am actually doing that with one of my project. I have an auto increment user ID column in my database that I started at 9987, so when a user creates an account on my website, it automatically creates him a virtual server with the port equaling the user ID. Then, I found on google the code for this panel : http://ts3dnspanel.tk/ and it creates the SRV records by itself (+it's made to work with cloudflare API). Just to give you an idea...

Panel : https://github.com/nextscript/TS3DNS-v.1.0
 

Augusto22xb

Member
Sep 26, 2015
33
2
40
I am actually doing that with one of my project. I have an auto increment user ID column in my database that I started at 9987, so when a user creates an account on my website, it automatically creates him a virtual server with the port equaling the user ID. Then, I found on google the code for this panel : http://ts3dnspanel.tk/ and it creates the SRV records by itself (+it's made to work with cloudflare API). Just to give you an idea...

Panel : https://github.com/nextscript/TS3DNS-v.1.0

I'm having trouble installing the panel in my hosting.
Whenever I click Create Now , he leads me to this link and the same screen .
I gave permission to the files.
http://puu.sh/mV0oh/1f9ad5e030.jpg
 

Qraktzyl

Retired Staff
Contributor
Nov 2, 2015
997
723
161
I'm having trouble installing the panel in my hosting.
Whenever I click Create Now , he leads me to this link and the same screen .
I gave permission to the files.
http://puu.sh/mV0oh/1f9ad5e030.jpg
I dont know because im not using the panel, I only took part of the code to integrate it in my dashboard and it works nicely. The reason I did that is because the subdomain taken by the user is his username.
 
Top