]> granicus.if.org Git - curl/commit
- Henrik Stoerner: found out that C-ARES does not look at the /etc/host.conf
authorDaniel Stenberg <daniel@haxx.se>
Sun, 26 Sep 2004 22:35:18 +0000 (22:35 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 26 Sep 2004 22:35:18 +0000 (22:35 +0000)
commit3451e888b97cfeb24a4b949b773e1650c56f77a1
tree3f7e8a2faffd936c6457f561736e346711e70f69
parent12dc142a2847c11596ecd44c7a4d2d57960dcd85
- 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.
ares/CHANGES
ares/ares_init.c