aboutsummaryrefslogtreecommitdiff
path: root/ares/CHANGES
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-09-26 22:35:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-09-26 22:35:18 +0000
commit3451e888b97cfeb24a4b949b773e1650c56f77a1 (patch)
tree3f7e8a2faffd936c6457f561736e346711e70f69 /ares/CHANGES
parent12dc142a2847c11596ecd44c7a4d2d57960dcd85 (diff)
- Henrik Stoerner: found out that C-ARES does not look at the /etc/host.conf
file to determine the sequence in which to search /etc/hosts and DNS. So on systems where this order is defined by /etc/host.conf instead of a "lookup" entry in /etc/resolv.conf, C-ARES will always default to looking in DNS first, and /etc/hosts second. c-ares now looks at 1) resolv.conf (for the "lookup" line); 2) nsswitch.fon (for the "hosts:" line); 3) host.conf (for the "order" line). First match wins.
Diffstat (limited to 'ares/CHANGES')
-rw-r--r--ares/CHANGES14
1 files changed, 14 insertions, 0 deletions
diff --git a/ares/CHANGES b/ares/CHANGES
index 0c3d6a3d5..f331b7094 100644
--- a/ares/CHANGES
+++ b/ares/CHANGES
@@ -2,6 +2,20 @@
* September 26
+- Henrik Stoerner: found out that C-ARES does not look at the /etc/host.conf
+ file to determine the sequence in which to search /etc/hosts and DNS. So on
+ systems where this order is defined by /etc/host.conf instead of a "lookup"
+ entry in /etc/resolv.conf, C-ARES will always default to looking in DNS
+ first, and /etc/hosts second.
+
+ c-ares now looks at
+
+ 1) resolv.conf (for the "lookup" line);
+ 2) nsswitch.fon (for the "hosts:" line);
+ 3) host.conf (for the "order" line).
+
+ First match wins.
+
- Dominick Meglio patched: C-ares on Windows assumed that the HOSTS file is
located in a static location. It assumed
C:\Windows\System32\Drivers\Etc. This is a poor assumption to make. In fact,