Forum

Results 1 to 11 of 11
  1. #1
    napok Guest

    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
    June 2008
    Posts
    18,020
    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; July 12th, 2012 at 10:09 AM.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  3. #3
    napok Guest
    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
    July 2002
    Location
    Germany
    Posts
    2,192
    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
    napok Guest
    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; July 13th, 2012 at 07:07 PM.

  6. #6
    Join Date
    June 2008
    Posts
    18,020
    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.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  7. #7
    napok Guest
    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
    June 2008
    Posts
    18,020
    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.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  9. #9
    napok Guest
    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
    July 2002
    Location
    Germany
    Posts
    2,192
    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
    napok Guest
    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. [Request] Fast Connect
    By TheYesFlofus in forum iOS
    Replies: 0
    Last Post: April 9th, 2015, 05:10 PM
  2. Failed to connect i need help fast plz :c
    By AndreFonseca in forum Windows
    Replies: 1
    Last Post: August 31st, 2014, 02:23 PM

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
  •