Slow connecting using domain compared to connecting with ipv4

Hello,

I recently bought a domain for myself and set it up so people could connect to my teamspeak server using mydomain.com. The problem is that connecting to the Teamspeak server with the ipv4 address is instant while using mydomain.com to connect takes like 5 seconds. Any ideas?

I’m also hosting the server in Google Cloud Compute Engine, if it helps.

I’ve set it up like this:

mydomain.com A TeamspeakIP
_ts3._udp.mydomain.com SRV 0 5 9987 mydomain.com

Resolving all possible IPs behind that domain takes a while (just open your client log and see what is happening).
When an IPv4 and 6 is possible then it takes the most of the time.

1 Like

Is there something I could do to improve it?