summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/res_mkquery.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak tree. Last minute changes are evil.otto2019-01-141-2/+2
|
* There are cases where a program doing dns requests wants to set theotto2019-01-141-1/+3
| | | | | Checking Disabled flag. Introduce a RES flag to do so. ok krw@ deraadt@ eric@
* Add support for RES_USE_DNSSECjca2017-02-271-4/+5
| | | | | | | | | | | | RES_USE_DNSSEC is implemented by setting the DNSSEC DO bit in outgoing queries. The resolver is then supposed to set the AD bit in the reply if it managed to validate the answer through DNSSEC. Useful when the application doesn't implement validation internally. This scheme assumes that the validating resolver is trusted and that the communication channel between the validating resolver and and the client is secure. ok eric@ gilles@
* Add EDNS0 support.jca2017-02-181-1/+5
| | | | | | | EDNS allows for various DNS extensions, among which UDP DNS packets size bigger than 512 bytes. The default is still to not advertize anything. ok eric@
* Hide all unnecessary asr / resolver related API with _ prefixes.deraadt2015-09-091-8/+8
| | | | direction & ok guenther
* Make the asr API public. Install asr.h to /usr/include.h and manpages.eric2014-03-261-2/+4
| | | | | | Include tweaks suggested by mpi@ ok deraadt@
* prefix structure names to avoid ambiguity and possible collisions wheneric2014-03-141-6/+6
| | | | | | the API gets public. ok deraadt@
* Make some symbols static and prefix all visible symbols with asr_eric2013-07-121-5/+5
| | | | | | to prevent collisions with third-party programs. suggested by sthen@, ok theo@
* properly check for domain name truncation at various places and faileric2013-04-011-6/+10
| | | | | | if that happens. prodded by deraadt@
* res_querydomain()'s code to terminate the domain with '.' had the assignmentguenther2013-03-291-2/+2
| | | | | | | flipped so that it always used a domain of ".." Heavy lifting by otto@ ok eric@ otto@ miod@
* knferic2012-11-241-2/+2
|
* make separate structures for pack and unpackeric2012-11-241-3/+3
|
* split asr_resolver.c into different files to overlay the libc/neteric2012-09-081-0/+104
resolver implementation.