How to find out where CNAME resolved to?

Resolved as in, in the past… Are there any tools for this?

I am doing some research into pentesting and subdomain takeovers with cloud providers like AWS and Azure. I have a list of subdomains (A records) that could be used for this, but they are indecipherable in terms of seeing where they once resolved to. Without this information, the entire thing is redundant.

For example: sjd-3949-af3.trafficmanager.net would have originally resolved to mydomain.takeover.com but doesn’t now.

Anyone know how to find this out please?