aboutsummaryrefslogtreecommitdiff
path: root/ares/windows_port.c
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/windows_port.c
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/windows_port.c')
0 files changed, 0 insertions, 0 deletions