I have a subdomain that I want to use for 2 things at once:
Is it possible to split traffic with DNS record based on the port of incoming request?
I read a bit but I couldn't figure out if SRV records would do the job, or if that would be a backward compatible method.
Thank you to anyone who gives some ideas.
Cheers!
This is outside of the scope of DNS, as it's role is simply Domain Name Resolution, and ports do not exist in the DNS world.
This seems like an idea use-case for something like haproxy however, but you will still need one of the servers to route all of the traffic for another unless you use two different host names.
With HAProxy, packet flow would be the following:
User A (Web)
User B (RDP)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.