green
New Member
Please, tell what you can to advise to direct me for digging in for solving the next issue. Let's we have a server (I can fully configure it) behind a router (I can not configure it) with just one opened port with a number I can not specify myself, but the server knows it. My client needs to connect to the server from the outside, but the client doesn't know the port number. How the server can tell its port to the client?
My first suggestion is to use SRV record, because it contains port number. If I could edit it from the server, then it would be the best solution. Is there some API for the such edit? What I can do also? Give all your thoughts, please.
My first suggestion is to use SRV record, because it contains port number. If I could edit it from the server, then it would be the best solution. Is there some API for the such edit? What I can do also? Give all your thoughts, please.