enhancementhelp wantedin progresspatch available
描述
Currently, Scrapy does caching of DNS by default (setting DNSCACHE_ENABLED is True on default settings).
The current cache implementation does not implement an expiration for the entries which may result in entries that be kept ad infinitum. We need change the current implementation to set an expiration time by default (typical TTL is 86400 seconds -24 hours-) or maybe, customizable by a setting.