Wireshark-commits: [Wireshark-commits] master c556f30: Add support for "custom" DNS servers to be u
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c556f307c9cb58ede24ee47e436c2a2ae060d2b8
Submitter: "Michael Mann <mmann78@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
c556f30 by Michael Mann (mmann78@xxxxxxxxxxxx):
Add support for "custom" DNS servers to be used in address resolution
Use the C-ARES ares_set_servers() API to set a list of DNS servers to use.
The list of DNS servers is controlled through a UAT. There is also a boolean
preference to determine if the custom list should be used. The boolean preference
was added to arbitrate between the "default" list of servers that C-ARES creates
during initialization and using the "custom" list (which may be empty and we don't
want the "default" list to be overwritten)
Bug: 15960
Change-Id: I4ba071777f6bb9bc2fef313b7618908d805c0690
Reviewed-on: https://code.wireshark.org/review/34419
Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from 6d6376e Move the last of the routines from capture_info.c into ui/capture.c.
add c556f30 Add support for "custom" DNS servers to be used in address resolution
Summary of changes:
epan/addr_resolv.c | 141 +++++++++++++++++++++++++++++++++++++++++++++++++++++
epan/addr_resolv.h | 1 +
epan/prefs.c | 2 +-
3 files changed, 143 insertions(+), 1 deletion(-)