| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
set subq_h_errno and ar_count. Remove the ar_datalen == -1 check, so we
set ar_h_errno and don't have to (wrongly) guess that
ar_h_errno = HOST_NOT_FOUND.
This makes sure that if no nameserver responds the h_errno value is set to
TRY_AGAIN instead of HOST_NOT_FOUND.
OK eric@, deraadt@
|
| |
|
|
|
|
| |
wrappers around gethostby*_async(3). If you had anything of
importance in /etc/networks, specify it in /etc/hosts instead.
Feedback and OK eric@, OK deraadt@
|
| |
|
|
|
|
| |
element of the union.
ok gilles@ millert@ krw@
|
| |
|
|
|
|
|
|
| |
any file indicated by an environment variable" feature inside the
resolver is incompatible with what pledge "dns" is trying to be. It is
a misguided "feature" added way back in history which almost noone uses,
but everyone has to assume the risk from.
ok eric florian kettenis
|
| |
|
|
|
|
|
|
| |
wart is incompatible with pledge, because suddenly a "dns" operation
needs "getpw" access to ypbind/ypserv, etc. file + dns access is
enough for everyone, sorry if you were using that old SunOS 4.x style
mechanism, but it is now gone.
ok semarie millert florian
|
| | |
|
| | |
|
| |
|
|
| |
direction & ok guenther
|
| |
|
|
|
|
| |
with a newline.
ok jca@
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Bump MAXADDRS/ALIASES to the original of 35, and silently ignore extras
instead of failing.
Noticed by markson on freenode.
OK eric@ "with revised diff", phessler@.
|
| |
|
|
| |
review by millert, binary checking process with doug, concept with guenther
|
| |
|
|
| |
it to get limits.h early enough
|
| |
|
|
|
|
| |
in gethostbyname(). Similar fix for getnetbyname().
ok deraadt@ daniel@ jca@
|
| |
|
|
|
|
|
| |
of the resulting FILE *), then pass fopen() the 'e' mode letter to
mark it close-on-exec.
ok miod@
|
| |
|
|
|
|
|
|
|
|
| |
NO_DATA/EAI_NODATA when the hostname param is an empty string.
So far, they were using the entries in the search list with no
additional component, which is not really expected.
reported by jsing@ and a few others
ok deraadt@, "makes sense" jsing@
|
| |
|
|
|
|
| |
fix null deref spotted by Seth Hanford, pinpointed by dtucker@
ok florian@
|
| |
|
|
|
|
| |
Include tweaks suggested by mpi@
ok deraadt@
|
| |
|
|
|
|
| |
structures, functions and defines.
discussed with and ok deraadt@ guenther@
|
| |
|
|
|
|
| |
the API gets public.
ok deraadt@
|
| |
|
|
|
|
| |
hostnames before returning them to the caller.
ok deraadt@
|
| | |
|
| |
|
|
| |
ok jca krw ingo
|
| | |
|
| |
|
|
|
|
| |
to prevent collisions with third-party programs.
suggested by sthen@, ok theo@
|
| |
|
|
|
|
| |
looking into /etc/hosts. Remove the alias check from the search
domain iteration. Instead, take a shortcut to res_query_async_ctx() in
res_search_async_ctx().
|
| |
|
|
|
| |
async API. That is actually useless and it makes the code more
complicated. The required buffers are always allocated when needed.
|
| | |
|
| |
|
|
| |
spotted by sthen@
|
| | |
|
| | |
|
| |
|
|
| |
a DNS packet...
|
| |
|
|
|
| |
Better not diverge too much in behavior at this point.
Typo fix and doc update while there.
|
| |
|
|
|
|
| |
No lookup is done in this case.
regression reported by espie@
|
| |
|
|
| |
a couple of fixes.
|
| | |
|
| | |
|
| |
|
|
| |
remove unused variable.
|
| |
|
|
| |
by using the blocking YP API internally.
|
| |
|
|
|
|
| |
hold both the structure and the data. The freehostent() and freenetent() API
functions are not needed anymore. While there, ensure that the constructed
addr and alias lists are really NULL terminated.
|
| | |
|
| | |
|
| | |
|
| | |
|
|
|
The idea is to eventually replace the existing resolver with
something better. Time to start working on it in tree.
ok deraadt@
|