ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
637 stars 74 forks source link

[ALL] Source Games and Steam do not save DNS records for server IP #1566

Open ghost opened 10 years ago

ghost commented 10 years ago

Hello!

Source Games and Steam do not save DNS records in the favorites at server list. Let's say i have a machine with a gameserver running at port 22001 who has a dynamic IP address.

I go on, register a domain, and create an A record for it's ip, like:

gs.sourcebr.net

So my game server in the port 22001 at this machine would look like:

gs.sourcebr.net:22001

This works well, however, steam and source games do not store the DNS records, instead, it just resolves it and save the IP.

I would love to add the server gs.sourcebr.net:22001 to my favorites and every time it gets a new IP it will be on-line since it will resolve the IP.

But it isn't possible, if my server changes IP it will not get the latest because steam saves the IP address and not the DNS record.

Tele42 commented 10 years ago

Sounds just like #281.

ghost commented 10 years ago

It's different, i'm talking about allowing a-records to be saved in the favorites list.

Ex, allow: gs.sourcebr.net:22001 to be saved at favorites.

But when you try to do that, steam resolves the IP (177.220.183.221:22001) and saves it

I want to save the DNS A-record, not the IP

Glitchvid commented 10 years ago

As a server owner, this seems like a necessary feature, a lot of people have moved over to using friendly domains for their servers. And on top of this, IPs sometimes change; letting players add the domain instead of just the IP gives an extra layer of security in case the IP is changed.

Furthermore, using a DNS could be a good Ddos mitigation tool for server owners, if an IP is getting Ddosed; they can simply switch the dns record, wait a bit, and then restart the server - The players would join the new IP and the botnet would take a long time to catch up to the changes.

Also, maybe introducing a reverse dns feature might be nice too, allowing the IP to point back to a friendly domain (myserver1.glitchvid.com) and if the server at a specific IP goes down (let's say 240.134.84.5) it can look up the reverse DNS, and see if it points to another IP that has the server running on it.

Xeogin commented 7 years ago

This also effects the blacklist feature, making it impossible to remove that server from the server browser, not even temporarily. This could easily be trolled.

MatteoInfi commented 4 years ago

Any update on this? I know this is a 7 years old issue, but did things change in the while?

MatteoInfi commented 4 years ago

Is there even an ETA for this issue?

MatteoInfi commented 4 years ago

any update on this?

xXPerditorXx commented 2 years ago

So nine years since this feature was requested and still nothing?

XRayBarnabey commented 2 months ago

2 more years and still nothing haha