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 | 3451e888b97cfeb24a4b949b773e1650c56f77a1 (patch) | |
tree | 3f7e8a2faffd936c6457f561736e346711e70f69 /src/main.c | |
parent | 12dc142a2847c11596ecd44c7a4d2d57960dcd85 (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 'src/main.c')
0 files changed, 0 insertions, 0 deletions