@ckure I'm not sure how an RPZ would help?
I would still need a way to allow only TCP connections from my server to the current cdn.network.com resolved address.
Something like
1 - "allow traffic from my server out to cnd.network.com"
2 - "Block everything else"
And do this based on current name resolution for cdn.network.com. The only thing I can think of that could do this easily is if the thing doing name resolution can also add and remove rules dynamically.