Page 1 of 1

[1.1.76] SRV Record Issue

Posted: Wed Apr 05, 2023 2:51 pm
by rlburkey
Good Morning!

I'm trying to create SRV records to enable the ability to have multiple multiplayer games.

I have created two SRV records that are similar to (I have obscured the domain name):

_factorio._udp.game1.domain.com 10 10 34197 game1.domain.com.
_factorio._udp.game2.domain.com 10 10 34198 game2.domain.com.

Both game1.domain.com and game2.domain.com have A records pointing to the server's IP.

When I try to connect to a game in Factorio using the FQDM without specifying a port, I always get game1, even if I use game2.domain.com. If i specify the ports (game2.domain.com:34198) it works as expected.

I used this page as a resource to create the SRV records:
https://wiki.factorio.com/Multiplayer#DNS_SRV_Records

Any help if figuring out where I've gone wrong is appreciated!

Re: [1.1.76] SRV Record Issue

Posted: Thu Apr 06, 2023 1:26 pm
by vinzenz
rlburkey wrote: Wed Apr 05, 2023 2:51 pm
When I try to connect to a game in Factorio using the FQDM without specifying a port, I always get game1, even if I use game2.domain.com. If i specify the ports (game2.domain.com:34198) it works as expected.
Can you please share logs from both connection attempts?