hostip: cache negative name resolves by bagder · Pull Request #18157 · curl/curl
Hold them for half the normal lifetime. Helps when told to transfer N URLs in quick succession that all use the same non-resolving hostname. Done by storing a DNS entry with a NULL pointer for '...GitHub