pubky / pkarr

Public Key Addressable Resource Records (sovereign TLDs)
https://app.pkarr.org
MIT License
153 stars 17 forks source link

Return cached and expired packets if we got no response from the network #67

Open Nuhvi opened 1 month ago

Nuhvi commented 1 month ago

Currently, if we have an expired cached packet, we query the DHT, and if that query returned nothing, we return nothing to the caller of resolve, maybe we should instead return the packet from the cache even if it is expired.