How to make a DNS record based on the port it comes from

I want to make it so when people go to the DNS will return one address, but when they go to the DNS will return another address. How can I do that using cloudflare?

DNS and ports are two different worlds. What you want is not possible I am afraid. At best, you could have a Worker script, which forwards requests to different servers based on the port.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.