MEDIUM: dns: new DNS response parser
authorBaptiste Assmann <bedis9@gmail.com>
Sat, 14 May 2016 09:26:22 +0000 (11:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Sep 2016 17:54:23 +0000 (19:54 +0200)
commitc1ce5f358e5d3c435a875a6f5520d3bf146337c0
treee6aeb4090dd4483306c67f5281d36f1d9038286a
parent5748f73ff81bbb0303b40881eec85709c7df24aa
MEDIUM: dns: new DNS response parser

New DNS response parser function which turn the DNS response from a
network buffer into a DNS structure, much easier for later analysis
by upper layer.

Memory is pre-allocated at start-up in a chunk dedicated to DNS
response store.

New error code to report a wrong number of queries in a DNS response.
include/proto/dns.h
include/proto/server.h
include/types/dns.h
src/dns.c
src/server.c