diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-09-26 22:35:18 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-09-26 22:35:18 +0000 |
commit | 405d83852a38c17cf9e681aa9b087d659a9438ae (patch) | |
tree | 0f1c211582026c822a488d16a732da11fec53a6b /CHANGES | |
parent | 2bf866b0ce6084e28af061d68bbc351b3be55e84 (diff) | |
download | c-ares-405d83852a38c17cf9e681aa9b087d659a9438ae.tar.gz c-ares-405d83852a38c17cf9e681aa9b087d659a9438ae.tar.bz2 c-ares-405d83852a38c17cf9e681aa9b087d659a9438ae.zip |
- 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 'CHANGES')
-rw-r--r-- | CHANGES | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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, |