commit | a8c6db8d2d97629b2734c1d2be0860b6b11e5709 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Jul 06 18:46:47 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Aug 09 16:32:49 2017 +0200 |
tree | 22323a633293f2a622fecdcce82c68c5bc27f3f9 | |
parent | aa0d6372922882f58b54f851dfd7ca1f5a71b26d [diff] |
MINOR: dns: Cache previous DNS answers. As DNS servers may not return all IPs in one answer, we want to cache the previous entries. Those entries are removed when considered obsolete, which happens when the IP hasn't been returned by the DNS server for a time defined in the "hold obsolete" parameter of the resolver section. The default is 30s.