I cannot Use Custom Domain Name for TCP Traffic

When I set a CNAME in Cloudflare for a reserved Endpoint I am still unable to connect via Custom Domain name on port 25565 or 25510(the custom port i set). is there a way I can add a Reserved_domain arg in the YAML or an easy way to allow me to use my custom domain name for TCP ports?