I'm trying to build a way to prove that an e-mail was indeed sent from a specific domain.
Is there a service that allows me to demonstrate what value a TXT record had at a certain time, e.g. by providing a signed DNS response, or an archive of past DKIM/ARC keys?
Background:
Nowadays, many e-mails come with DKIM (and sometimes ARC) signatures. However, these can only be validated for as long as the corresponding key remains available. I can of course archive a copy of the key, but I cannot prove to a third party that this key was indeed the real key used by the sender at that time.
The ideal solution, in theory, would be DNSSEC, but this would have to be deployed by the sender and it doesn't seem to be common, even among large senders (checked for Google's DKIM key and Microsoft's ARC key).
There are commercial DNS archives, but the two I checked (securitytrails.com and completedns.com) didn't even list Google's DKIM key, so I don't believe these to be particularly useful.
A workaround could be archiving a web-based DNS lookup tool in archive.org, but I was looking for a cleaner/more scalable solution that could easily be applied to incoming mail.
I do understand that DKIM is not as strong as e.g. a qualified electronic signature, that DKIM keys can be compromised, that accounts allowing someone to send from the legitimate server can be compromised, and that DKIM keys could be intentionally released once they're no longer used in an attempt to create plausible deniability for past messages. The latter can be mitigated by obtaining a RFC 3161 timestamp for the message.
An example scenario where this would be helpful: You owe a company money. The company sends you an e-mail instructing you to wire the money to a specific account. You wire the money, but it turns out the company was hacked, the account number in the e-mail was replaced, and the money is gone. If you can prove that you verified that the mail indeed came from the company's server, and that this mail already contained the wrong account number when it was sent from there, you have a much better chance that a judge will not require you to send the money again.