]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: dns: Cache previous DNS answers.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 6 Jul 2017 16:46:47 +0000 (18:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 9 Aug 2017 14:32:49 +0000 (16:32 +0200)
commita8c6db8d2d97629b2734c1d2be0860b6b11e5709
tree22323a633293f2a622fecdcce82c68c5bc27f3f9
parentaa0d6372922882f58b54f851dfd7ca1f5a71b26d
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.
doc/configuration.txt
include/proto/server.h
include/types/dns.h
src/cfgparse.c
src/dns.c
src/server.c