Community Forums Today's Posts     Member List     Archive    
Results 1 to 11 of 11
  1. #1
    Join Date
    May 2011
    Posts
    20

    Solved Fast connect to demo server

    When connecting to your demo server, it connects almost instantly.
    With the amount of spam going on you would expect a slower connect, but it connects faster than any other (empty) server.

    What is your secret?

  2. #2
    Join Date
    Jun 2008
    Posts
    7,764
    The ping is related to this.

    And for client 3.0.8 we do not use the DNS, we use SRV instead, this makes it much faster too.

    I guess this is the secret. I'm not the hoster of that server
    Last edited by dante696; 12-07-2012 at 10:09.
    ---------------------------------------------------------
    Please don't send me private support questions.
    They belong into the forum and maybe other users have these questions/problems too.

    TeamSpeak FAQ || What should i report, when i open a client thread? || Report and upload your Crashdump here
    NPL License (Registration)

  3. #3
    Join Date
    May 2011
    Posts
    20
    Interesting...

    I am using version 3.0.7 and as far as I know that is the latest version available.
    Hopefully all servers will connect that fast in the nearby future.

  4. #4
    Join Date
    Jul 2002
    Location
    Germany
    Posts
    2,836
    Hi,

    when you connect to a server via DNS (hostname) there will be a short delay (~4s on first connect, ~0.5s on following connects), while the TS3 clients wait for a TSDNS server to answer. The solution to this is to add a TSDNS server that actually answers . TSDNS connect-speed > DNS connect speed. Alternatively you could also just use IP:Port to connect, which is a tiny (depending on your ping) bit faster than even TSDNS connect.

    With the upcoming 3.0.8 client you can also use a ts3 SRV record for fast resolving, since ts3 SRV records take precedence over TSDNS and DNS resolve methods.
    You think my answer is stupid ? Read This:
    http://www.catb.org/~esr/faqs/smart-...ons.html#intro

    In a world without fences and walls - who needs windows and gates ?

  5. #5
    Join Date
    May 2011
    Posts
    20
    In that case I am unable to understand why the TeamSpeak client does not cache the DNS response.

    You would assume that if you have connected to a server before, using a domain with a time-to-live value of 86400, that its remaining connects are lightning fast until the 24 hours have passed.
    Last edited by napok; 13-07-2012 at 19:07.

  6. #6
    Join Date
    Jun 2008
    Posts
    7,764
    The client does cache the dns repsonse as long the client was not closed. This won't be saved in any file and is not planned.
    ---------------------------------------------------------
    Please don't send me private support questions.
    They belong into the forum and maybe other users have these questions/problems too.

    TeamSpeak FAQ || What should i report, when i open a client thread? || Report and upload your Crashdump here
    NPL License (Registration)

  7. #7
    Join Date
    May 2011
    Posts
    20
    If that is so, why are reconnects just as slow?
    In the meantime I have tested the SRV feature in client 3.0.8 and it is blazing fast.

  8. #8
    Join Date
    Jun 2008
    Posts
    7,764
    I can't say that it is slow, it needs the same time for me, when i connect per bookmark again.
    but it needs ~18 seconds for a timeout, before a reconnect will be started.
    ---------------------------------------------------------
    Please don't send me private support questions.
    They belong into the forum and maybe other users have these questions/problems too.

    TeamSpeak FAQ || What should i report, when i open a client thread? || Report and upload your Crashdump here
    NPL License (Registration)

  9. #9
    Join Date
    May 2011
    Posts
    20
    It seems like it still searches for a TSDNS server, and then it sees that it has a DNS record cached (client 3.0.7).
    Correct me if I am wrong.

  10. #10
    Join Date
    Jul 2002
    Location
    Germany
    Posts
    2,836
    The priority in resolving is:

    #1 _ts3 SRV record
    #2 _tsdns SRV record
    #3 tsdns server
    #4 regular DNS resolve

    So, even if the DNS resolve is cached it will still have to wait a short while (0.5s) to see if a tsdns server answers, since that answer has a higher priority than the regular DNS resolve.

  11. #11
    Join Date
    May 2011
    Posts
    20
    Thanks for confirming this.
    Client 3.0.7 does not have SRV support, hence I did not include the two SRV records in my last post.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Fast server query in shell
    By XioniX in forum Tools
    Replies: 2
    Last Post: 10-01-2010, 01:24
  2. FAst 3302 and TS Server
    By IcyShard in forum [TeamSpeak 2] Server Support
    Replies: 8
    Last Post: 06-10-2007, 12:21
  3. Need help with my TS server fast! =D
    By Count3r_ in forum [TeamSpeak 2] Server Support
    Replies: 2
    Last Post: 17-05-2005, 14:34
  4. 2 server ziehen fast 1gb ram !?
    By iLLE in forum [TeamSpeak 2] Server Support
    Replies: 2
    Last Post: 31-05-2003, 13:13

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •