0
I have a [game] server (CentOS) that has about 10 used ports. For one game in particular, I have 2 servers: a private one and a public one.
The IP for them is the same, so to differentiate between them the user must use mydomain.com:[portnumber]
.
Is there a way that I can configure CentOS to automatically take something like subdomain.mydomain.com
and transform it to mydomain.com:[portnumber]
or simple localhost:[portnumber]
?
Is this what a DNS is for?
The important takeaway here is that the client would need to understand it must request an SRV record, meaning generally this type of setup must be accounted for when the client is designed. – Bacon Bits – 2011-09-11T04:23:20.367