]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: dns: no expected DNS record type found
authorBaptiste Assmann <bedis9@gmail.com>
Tue, 8 Sep 2015 22:46:58 +0000 (00:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Sep 2015 13:41:53 +0000 (15:41 +0200)
commit96972bcd36a718954d7664484f17fb564534d617
treeb97bcf8e961046de6c06f0248671cb312765ff3a
parent5554e2983d5d46abc5ebe752a03c7cd9fb749662
MINOR: dns: no expected DNS record type found

Some DNS responses may be valid from a protocol point of view, but may
not contain any information considered as interested by the requester..
Purpose of the flag DNS_RESP_NO_EXPECTED_RECORD introduced by this patch is
to allow reporting such situation.

When this happens, a new DNS query is sent with a new query type.

For now, the function only expect A and AAAA query types which is enough
to cover current cases.
In a next future, it will be up to the caller to tell the function which
query types are expected.
include/types/dns.h
src/dns.c
src/server.c