From my experience, the results are cached based on the TTL returned from the DNS server which says how long they are allowed to be cached for.
For example, on many Amazon AWS S3 domains it only caches the results for 60s (matching the TTL). I have observed this myself.