Add SRV Record support

Suggestions that have been added to the game.

Moderator: ickputzdirwech

Rseding91
Factorio Staff
Factorio Staff
Posts: 14142
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Add SRV Record support

Post by Rseding91 »

This has been on our to-do for a while now.
If you want to get ahold of me I'm almost always on Discord.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Add SRV Record support

Post by ssilk »

skord wrote:I'd like to totally +1 this feature request. I have a Factorio headless running in a Docker container which is linked to by another container which pulls environmental variables from the Factorio containers and automatically can create these DNS records.

In simpler terms, you start your first Factorio server and another process picks up that the server named "vanilla" has started. That other process automatically creates the A and SRV records for vanilla.factorio.example.com. If I want to spawn another server process on the same server called "bobmod", it will automatically create "bobmod.factorio.example.com". Then, the client only needs to know the DNS names, and not the port, effectively making it look as though the servers are running on separate machines.

This really comes in handy when you're playing multiple games with small groups of friends in that the servers that aren't being used are using minimal resources when people aren't connected, making it so you can run many Factorio server processes on the same box.
Quite interesting. I've on my list of todos "getting used with docker/container concepts". Could you please post more info about how you setup this? Scripts, config files etc. And not in Suggestions but in Tools subboard. TNX
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

chris13524
Fast Inserter
Fast Inserter
Posts: 207
Joined: Thu Jun 04, 2015 12:20 am
Contact:

Re: Add SRV Record support

Post by chris13524 »

+1 please add this feature! I'm planning on setting up a server hosting service and this would defiantly make it easier for my users to connect to their servers.

dgw
Fast Inserter
Fast Inserter
Posts: 197
Joined: Tue Apr 12, 2016 7:06 pm
Contact:

Re: Add SRV Record support

Post by dgw »

I haven't gotten to set up any SRV records in ages…probably literal years. It would be nice to have a reason to do so again.

User avatar
burisk
Burner Inserter
Burner Inserter
Posts: 17
Joined: Sun Mar 12, 2017 1:58 pm
Contact:

Re: Add SRV Record support

Post by burisk »

What about now, is it implemented now? :)

19wolf
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Fri May 06, 2016 3:49 pm
Contact:

Re: Add SRV Record support

Post by 19wolf »

Couldn't figure out how to subscribe to this without posting so here is a pretty useless post, sorry.

But also, +1 for this idea. I'd love to have it.

dgw
Fast Inserter
Fast Inserter
Posts: 197
Joined: Tue Apr 12, 2016 7:06 pm
Contact:

Re: Add SRV Record support

Post by dgw »

19wolf wrote:Couldn't figure out how to subscribe to this without posting so here is a pretty useless post, sorry.
The "Subscribe topic" link is well hidden in the amber footer bar, below "Who is online".

19wolf
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Fri May 06, 2016 3:49 pm
Contact:

Re: Add SRV Record support

Post by 19wolf »

https://www.dropbox.com/s/4yeg75695abai ... 2.png?dl=0

Nope :(
(I even tested on another topic I'm not subscribed to)

dgw
Fast Inserter
Fast Inserter
Posts: 197
Joined: Tue Apr 12, 2016 7:06 pm
Contact:

Re: Add SRV Record support

Post by dgw »

Not to hijack the thread further, but it's there if you are logged in. Your screenshot appears as if you checked while not logged in, perhaps. (It says "No registered users" were browsing this forum at the time, but note how my own name appears in the list in my screenshot.)

Image

19wolf
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Fri May 06, 2016 3:49 pm
Contact:

Re: Add SRV Record support

Post by 19wolf »

Ah yup. I see it now.

allenellis
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Nov 16, 2018 11:20 am
Contact:

Re: Add SRV Record support

Post by allenellis »

I finally registered an account just to add my vote for this. I'm hosting a few different game servers for 3 different groups of friends so far, and I'd like to be able to tell them all to connect to friend1.myname.tld, friend2.myname.tld, etc. :)

Darinth
Filter Inserter
Filter Inserter
Posts: 323
Joined: Wed Oct 17, 2018 12:17 pm
Contact:

Re: Add SRV Record support

Post by Darinth »

I did not know the minecraft was capable of using SRV records. That's awesome, and actually gives me some reason to potentially use some more advanced DNS features.

+1 to this. Access to properly utilize the DNS system for servers would be awesome.

User avatar
burisk
Burner Inserter
Burner Inserter
Posts: 17
Joined: Sun Mar 12, 2017 1:58 pm
Contact:

Re: Add SRV Record support

Post by burisk »

+1 for SRV record support in 0.17 or in 1.0. Minecraft uses this too and it's awesome to have servers from gamehostings on own domain without port outwardly. As an administrator I can change/migrate servers from one place to another and I don't have to notify all players that port was changed which is not user-friendly. :)

pokemonspeler
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Apr 10, 2018 6:22 pm
Contact:

Re: Add SRV Record support

Post by pokemonspeler »

+1 for SRV, this would solve a lot of hurting things like always sharing your ip and port for a private server.
I am Dutch don't blame me for my spelling mistakes

SilentAmmo
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Mar 11, 2019 12:37 am
Contact:

Re: Add SRV Record support

Post by SilentAmmo »

+1 SRV support would be great

nukleus
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Nov 24, 2016 11:38 pm
Contact:

Re: Add SRV Record support

Post by nukleus »

I wonder if it's still on the todo list?

Darinth
Filter Inserter
Filter Inserter
Posts: 323
Joined: Wed Oct 17, 2018 12:17 pm
Contact:

Re: Add SRV Record support

Post by Darinth »

Hopefully. I was real happy when running a MC server recently with my ability to add a SRV record to my domain and clients not needing to worry about ports anymore. Much cleaner implementation for my players. :)

dstensnes
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Aug 24, 2017 6:11 pm
Contact:

Re: Add SRV Record support

Post by dstensnes »

+1 Very nice to have. We usually host two servers on the same IP. It would be nice to have "vanilla.domain.tld" and "modded.domain.tld" style addresses. Nobody like port numbers, because they are seemingly impossible to remember....

Also, thanks for a fantastic game!

pparker
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Sep 18, 2016 11:09 am
Contact:

Re: Add SRV Record support

Post by pparker »

This would be super nice to have, and hopefully still something they are considering

PeaceDealer
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sun Nov 06, 2016 1:00 pm
Contact:

Re: Add SRV Record support

Post by PeaceDealer »

+1 still a much wanted feature, despite the server browser.

Especially when i want freinds to connect to by server, telling them to go search for it in the browser is abit meh. Easier to just hit them the domain and connect.

Post Reply

Return to “Implemented Suggestions”