DNS: avoid overflow in cache TTL for negative entries. Bug 1395