Outbound SNAT Using a URL (instead IP)

Hello. I have several OutboundSNAT where an internal VLAN hits the destination address (from outside our network) and it get to the destination via a snat pool (public IP). That works OK.

Now, I have a new requirement where the destination its a URL, instead of a IP.

Any idea in how can I do this?

Thank you

J.

Can you please elaborate? URLs always need to be (DNS) resolved before being useful.