A TSDNS-Server for Teamspeak 3, that uses MySQL for configuration
Want to see pretty graphs? Log in now!
npm install mysql-tsdns
|8||downloads in the last month|
|Last Published By|
|Version||1.0.1 last updated 8 months ago|
A TSDNS-Server for Teamspeak 3, that uses MySQL for configuration.
For more information how it works, look at Configuration.
- Download the Git-Repo (we recommend stable) into a directory of your choice.
npm installto install the dependencies.
- Copy the
config.jsonand change it, as your needs.
- Import the
init.sqlinto your database (structure + testdata). Ensure that you selected a target scheme first.
- Change the settings in the db, as your needs (see Configuration for more).
./mysql_tsdns_startscript startto start the MySQL-TSDNS-server and your are ready. :D
MySQL-TSDNS stores all data in the db (name would be silly otherwise).
As a domain is requested, MySQL-TSDNS first read all available tables to look the teamspeak-servers up from the
serverTables-Table, then it goes throw every table and searches for the requested domain. If it found something, it gives back the destination and closes the request. If nothing is found, it tries to get a default-server from the
serverDefault-Table, if one is specified and active.
If nothing is found again, MySQL-TSDNS returns
404 and closes the request also.
The Teamspeak-Client will show a "Server not found" in this case.
An example setup is shipped with the import of the
init.sql-file, which will fit the most usages (just add more servers to the
A note to the
additionalColumns-Column in the
This field is used, to tell the programm, that there are special columns in the specified serverTable.
At the moment, the only usable special column is
lastLookup, which should be an integer as type.
If you specified this column, MySQL-TSDNS will save a timestamp in this field, everytime the domain is requested.
This software is licensed under the Mozilla Public License v. 2.0. For more information, read the file