wireshark/docbook/wsug_src
John Thacker 3173400167 addr_resolv: Remove confusing "only use profile hosts" preference
Once upon a time, Wireshark could use GNU ADNS instead of c-ares
for asynchronous DNS lookups. GNU ADNS didn't check the system
hosts file (see 51984de040), so
we added the system hosts file using the same mechanism as profile
paths when using ADNS.

This was then confusing, because "use external DNS resolver / use
system DNS resolving" could be off but /etc/hosts was still used,
so the "only use profile hosts" option was created to avoid using
external system DNS hostsnames at all.

c-ares (and, for that matter, libunbound) does read /etc/hosts, so
this option doesn't do its primary purpose anymore.  All it usually
does now is keep any hosts file in the global profile from being used,
but we don't have any other name resolution options where there's a
pref not to use global profile data.

Even more confusingly, if the option is true, then the -H option
to tshark to give a hosts file on the command line doesn't work.
add_hosts_file checks the preference and then doesn't actually
read the file from the command line, which is surely never wanted.

Most people don't understand what the option means, despite the
tooltip, and assume that it means "only use the hosts file as a
source of name resolution data", not "when using hosts files as
a source of name resolution data, only use the one from the personal
profile and not any from the global profile, the tshark command line,
or any other source."

Just mark the option as obsolete.

Related to #11470
2023-11-01 14:57:25 +00:00
..
images WSUG: Documentation updates 2023-08-05 23:56:19 +00:00
capinfos-h.txt [Automatic update for 2023-10-01] 2023-10-01 22:54:20 +00:00
dumpcap-h.txt [Automatic update for 2023-10-01] 2023-10-01 22:54:20 +00:00
editcap-F.txt
editcap-T.txt [Automatic update for 2023-08-27] 2023-08-27 20:31:25 +00:00
editcap-h.txt [Automatic update for 2023-10-01] 2023-10-01 22:54:20 +00:00
mergecap-h.txt [Automatic update for 2023-10-01] 2023-10-01 22:54:20 +00:00
rawshark-h.txt [Automatic update for 2023-10-15] 2023-10-15 16:24:27 +00:00
reordercap-h.txt [Automatic update for 2023-10-15] 2023-10-15 16:24:27 +00:00
text2pcap-h.txt [Automatic update for 2023-10-15] 2023-10-15 16:24:27 +00:00
tshark-h.txt [Automatic update for 2023-10-01] 2023-10-01 22:54:20 +00:00
user-guide-docinfo.xml Version: 4.1.1 → 4.3.0 2023-09-25 11:32:09 -07:00
user-guide.adoc Docbook: Reorganize our guide directories 2023-02-11 21:09:46 +00:00
wireshark-h.txt [Automatic update for 2023-10-01] 2023-10-01 22:54:20 +00:00
wsug_advanced.adoc doc: Fix the description of the "Raw" Follow Stream mode 2023-10-26 13:57:48 +00:00
wsug_build_install.adoc GitLab CI+Docbook: More win64 → x64 updates 2023-05-24 16:10:11 +00:00
wsug_capture.adoc Move autoscroll preference behavior to recent 2023-08-18 10:49:03 +00:00
wsug_customize.adoc addr_resolv: Remove confusing "only use profile hosts" preference 2023-11-01 14:57:25 +00:00
wsug_files.adoc Revert "plugins: Do not require a "type" subfolder hierarchy" 2023-10-18 14:30:46 +00:00
wsug_howitworks.adoc Docs: Rename our guide source files 2023-01-30 20:05:06 +00:00
wsug_introduction.adoc WSUG: Note that we have a foundation. 2023-07-15 09:38:03 -07:00
wsug_io.adoc Docbook: Reorganize our guide directories 2023-02-11 21:09:46 +00:00
wsug_mate.adoc Docbook: Reorganize our guide directories 2023-02-11 21:09:46 +00:00
wsug_messages.adoc Docs: Rename our guide source files 2023-01-30 20:05:06 +00:00
wsug_preface.adoc Docs: Rename our guide source files 2023-01-30 20:05:06 +00:00
wsug_protocols.adoc Docs: Rename our guide source files 2023-01-30 20:05:06 +00:00
wsug_statistics.adoc stats_tree plugin: Add a TTL/Hop Limit stats tree 2023-09-06 15:02:02 +00:00
wsug_telephony.adoc RTP: Improve selection of streams for RTP Analysis/Player 2023-07-03 01:57:04 +00:00
wsug_tools.adoc Docs: Rename our guide source files 2023-01-30 20:05:06 +00:00
wsug_troubleshoot.adoc Docs: Rename our guide source files 2023-01-30 20:05:06 +00:00
wsug_use.adoc WSUG: Mention the at operator and field references 2023-11-01 10:15:37 +00:00
wsug_wireless.adoc Docbook: Reorganize our guide directories 2023-02-11 21:09:46 +00:00
wsug_work.adoc WSUG: Mention the at operator and field references 2023-11-01 10:15:37 +00:00