#
abe78e02 |
| 27-Feb-2017 |
jca <jca@openbsd.org> |
Put a common flags field in the query struct, rather than in some elements of the union.
This field is for internal asr flags. The flags in "struct rrset" and "struct ni" are different kinds of fla
Put a common flags field in the query struct, rather than in some elements of the union.
This field is for internal asr flags. The flags in "struct rrset" and "struct ni" are different kinds of flags.
ok eric@
show more ...
|
#
f6f51dad |
| 23-Feb-2017 |
eric <eric@openbsd.org> |
Put a common subq pointer in the query struct, rather than one in each element of the union.
ok gilles@ millert@ krw@
|
#
c126605f |
| 16-Dec-2015 |
deraadt <deraadt@openbsd.org> |
Remove support for HOSTALIASES from the resolver. This "open and parse any file indicated by an environment variable" feature inside the resolver is incompatible with what pledge "dns" is trying to
Remove support for HOSTALIASES from the resolver. This "open and parse 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
show more ...
|
#
a55a423a |
| 20-Sep-2015 |
eric <eric@openbsd.org> |
remove bogus includes of err.h
|
#
5826fd8c |
| 14-Sep-2015 |
guenther <guenther@openbsd.org> |
Wrap <asr.h> so internal calls go direct and all the symbols are weak
|
#
253ef892 |
| 09-Sep-2015 |
deraadt <deraadt@openbsd.org> |
Hide all unnecessary asr / resolver related API with _ prefixes. direction & ok guenther
|
#
86648719 |
| 25-May-2015 |
eric <eric@openbsd.org> |
Skip search domains iteration if RES_DNSRCH and/or RES_DEFNAMES is unset.
prodded by Brad ok jca@
|
#
ab50be5e |
| 23-Jul-2014 |
eric <eric@openbsd.org> |
Make queries using the search list for hostname lookups fail with 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 additio
Make queries using the search list for hostname lookups fail with 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@
show more ...
|
#
d216d6b1 |
| 26-Mar-2014 |
eric <eric@openbsd.org> |
Make the asr API public. Install asr.h to /usr/include.h and manpages. Include tweaks suggested by mpi@
ok deraadt@
|
#
5be03f8f |
| 25-Mar-2014 |
eric <eric@openbsd.org> |
Cleanup and simplify the API to be exposed. Use better names for structures, functions and defines.
discussed with and ok deraadt@ guenther@
|
#
b97dbfc0 |
| 24-Feb-2014 |
eric <eric@openbsd.org> |
make res_search() report NO_DATA instead of HOST_NOT_FOUND in some cases. issue reported by matthieu@
ok matthieu@ deraadt@
|
#
5bd9e5c2 |
| 12-Jul-2013 |
eric <eric@openbsd.org> |
Make some symbols static and prefix all visible symbols with asr_ to prevent collisions with third-party programs.
suggested by sthen@, ok theo@
|
#
eaa928d5 |
| 01-Jun-2013 |
eric <eric@openbsd.org> |
Move search domain iteration code in res_search_async.c where it belongs.
|
#
6a7a3d64 |
| 01-Jun-2013 |
eric <eric@openbsd.org> |
Make hostaliases work for gethostbyname() and getaddrinfo() when looking into /etc/hosts. Remove the alias check from the search domain iteration. Instead, take a shortcut to res_query_async_ctx() i
Make hostaliases work for gethostbyname() and getaddrinfo() when 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().
show more ...
|
#
c5221d45 |
| 30-Apr-2013 |
eric <eric@openbsd.org> |
Do not take external buffers for storing DNS responses in the internal async API. That is actually useless and it makes the code more complicated. The required buffers are always allocated when nee
Do not take external buffers for storing DNS responses in the internal async API. That is actually useless and it makes the code more complicated. The required buffers are always allocated when needed.
show more ...
|
#
6dde8a29 |
| 01-Apr-2013 |
eric <eric@openbsd.org> |
properly check for domain name truncation at various places and fail if that happens.
prodded by deraadt@
|
#
43f9b988 |
| 01-Apr-2013 |
deraadt <deraadt@openbsd.org> |
space cleanup; ok eric
|
#
1e1dfc0c |
| 27-Mar-2013 |
eric <eric@openbsd.org> |
Only use the search domains for DNS lookups, as the current resolver does. Better not diverge too much in behavior at this point. Typo fix and doc update while there.
|
#
80f48568 |
| 24-Nov-2012 |
eric <eric@openbsd.org> |
knf
|
#
46ab4803 |
| 09-Sep-2012 |
eric <eric@openbsd.org> |
use proper macros for debug traces.
|
#
b44da627 |
| 14-Apr-2012 |
eric <eric@openbsd.org> |
Import asr, an experimental async resolver implementation. The idea is to eventually replace the existing resolver with something better. Time to start working on it in tree.
ok deraadt@
|