Reproviding an IPNS record without changing it

I don’t think this will be supported until this issue is closed.

You’re right that it’s looking for newer versions. It doesn’t know a priori that if it tries to look up a newer version in the DHT it won’t find one – since private keys for publishing can be shared.

I don’t know of a way to say “anything within the last 3 hours is fine”, but you can do a couple of things to speed up name resolution if you don’t care about the newest record.

# stream DHT entries as they're returned
ipfs name resolve --stream /ipns/...

# look for 2 records from the DHT to resolve the address, and only take up to 5 seconds
ipfs name resolve --dhtrc 2 --dhtt 5s /ipns/