I'm working on a dynamic NFT project where the images will periodically be updated and I would like to do this with DNSLINK but I'm not sure how to link my tokenURI to the IPFS CID returned by DNSLINK. Can't seem to find any example implementations.
I've created a TXT record that correctly resolves and returns an IPFS link. I've verified this with "dig +short TXT _dnslink.MYDOMAIN.COM"
From what I understand, an IPFS node/client will automatically resolve MYDOMAIN.COM and look for a TXT record that has _dnslink... and then it will use the returned IPFS CID. So when I set a tokenURI in my contract, should it look at MYDOMAIN.COM or _dnslink.MYDOMAIN.COM? And how do I incorporate the tokenID and file extension (.json) into the tokenURI?