MINOR: dns: automatic reduction of DNS accpeted payload size
authorBaptiste Assmann <bassmann@haproxy.com>
Mon, 21 Aug 2017 14:51:09 +0000 (16:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Aug 2017 09:40:00 +0000 (11:40 +0200)
commite70bc05b3a62ca84b5ce4440d340440f00411886
treee2376129e0ac2073024ff47f1ffed72c3c35b5f9
parent9d8dbbc56b73a4473b4e312317692a3d13d1da61
MINOR: dns: automatic reduction of DNS accpeted payload size

RFC 6891 states that if a DNS client announces "big" payload size and
doesn't receive a response (because some equipments on the path may
block/drop UDP fragmented packets), then it should try asking for
smaller responses.
src/dns.c