diff --git a/lib/DefaultResolver.php b/lib/DefaultResolver.php index ad39430..5fef779 100644 --- a/lib/DefaultResolver.php +++ b/lib/DefaultResolver.php @@ -673,7 +673,7 @@ REGEX; $minttl = $ttl; } } - $this->arrayCache->set("$name#$type", $records, $minttl); + $this->arrayCache->set("$name#$type", $records, \min($minttl, 86400)); } $promisor->succeed($result); }