[sr-dev] git:5.1:191d970e: core: better protection against invalid name lookup in DNS caching support