diff options
author | 2019-08-19 18:15:51 -0400 | |
---|---|---|
committer | 2019-08-20 12:48:52 +0000 | |
commit | 14c7756ad8867ca96300ad0f38b89f24ee19dff6 (patch) | |
tree | 53852b75418e63b51b18acfcd7d30737f8ec7759 /src/vnet/dns/reply_node.c | |
parent | b610f2022c9f4e10a922e7b57c80ec77cd45d021 (diff) |
dns: handle multiple replies for single requests
The world is a mess. A single DNS request may yield multiple, subtly
different responses; all with the same DNS protocol-level ID.
Last response wins in terms of what ends up in the cache.
First response wins in terms of the response sent to the client. Hard
to do otherwise since we have no clue that more than one answer will
be forthcoming.
Type: fix
Ticket: VPP-1749
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I3175a40eb1fea237048d16b852a430f5ab51eaef
(cherry picked from commit e8d2dcb6a619f0884ece2284a286f21b3aa77e5a)
Diffstat (limited to 'src/vnet/dns/reply_node.c')
0 files changed, 0 insertions, 0 deletions