diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-10-28 00:12:25 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-10-28 00:12:25 +0000 |
commit | 346792d2a1494d3451837c205343c2ecbf5ee810 (patch) | |
tree | 4181750f6d6bc655a3d5897eee772ebf51c812c1 /extra/config | |
parent | e4d1b4963d7a8425a68cb304dcb9cc645321f024 (diff) |
make getaddrinfo to NOT query DNS for IPv6 address if host is in
/etc/hosts and it has IPv4 address there.
The most common example is "127.0.0.1 localhost".
We don't want "ping localhost" to stall and time out on IPv6
queries to, say, inaccessible DNS server, right?
- 655 0 0 655 28f libc/inet/gethostbyname2_r.o
+ 685 0 0 685 2ad libc/inet/gethostbyname2_r.o
Diffstat (limited to 'extra/config')
0 files changed, 0 insertions, 0 deletions