aboutsummaryrefslogtreecommitdiff
path: root/contrib/ldns
Commit message (Collapse)AuthorAgeFilesLines
* ldns: Ignore commented-out lines in resolv.conf.Dag-Erling Smørgrav2024-05-153-48/+42
| | | | | | | This merges upstream PR 238 + an additional bug fix. PR: 278721 MFC after: 1 week
* Revert "Issue #237 : Resolver uses nameserver commented out in /etc/resolv.conf"Dag-Erling Smørgrav2024-05-152-42/+48
| | | | This reverts commit b5fb1f44ed435fa25fe3de87c9b9ee6c0aad5125.
* Issue #237 : Resolver uses nameserver commented out in /etc/resolv.confWillem Toorop2024-05-152-48/+42
| | | | | | | | | | This /etc/resolv.conf: # x # nameserver 8.8.8.8 Still configured 8.8.8.8 as nameserver, because the comment detection in `ldns_resolver_new_frm_fp_l()` didn't anticipate empty lines before the comment. This fix removed all comment handling from `ldns_resolver_new_frm_fp_l()`. Instead a new function is introduced `ldns_fget_token_l_resolv_conf()` that skips comments that start with '#' and ';'. The old `ldns_fget_token_l()` (that is used for zonefiles too) still accepts only ';' for comments.
* ldns: Remove a set but unused variable.John Baldwin2023-06-271-2/+0
| | | | | Reviewed by: des Differential Revision: https://reviews.freebsd.org/D40695
* ldns: Upgrade to 1.8.3.Dag-Erling Smørgrav2023-05-24100-15643/+15499
| | | | | | | Merge commit 'cf3e3d5bd0a1fae39c74c7db5a4e8b10732d0766' Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D40226
* Fix crash in drill(1) when IP has two subsequent dotsOleksandr Tymoshenko2020-06-221-8/+10
| | | | | | | | | | | | Cherry-pick crash fix from the upstream repo PR: 226575 Reported by: Goran Mekić <meka@tilda.center> Obtained from: https://git.nlnetlabs.nl/ldns/commit/?id=98291475 MFC after: 2 weeks Notes: svn path=/head/; revision=362516
* Regenerate: remove GOST, enable DANE-TA now that we have OpenSSL 1.1.1.Dag-Erling Smørgrav2018-10-112-3/+3
| | | | | | | Approved by: re (gjb) Notes: svn path=/head/; revision=339303
* Try harder to sanitize the environment before running configure.Dag-Erling Smørgrav2018-10-101-5/+16
| | | | | | | | | Remove a workaround for older Unbound versions that used sbrk. Approved by: re (gjb) Notes: svn path=/head/; revision=339294
* Make libldns buildable.Jung-uk Kim2018-09-191-7/+7
| | | | Notes: svn path=/projects/openssl111/; revision=338771
* Upgrade LDNS to 1.7.0.Dag-Erling Smørgrav2018-05-1298-16082/+13636
| | | | | | | | | I've been holding back on this because 1.7.0 requires OpenSSL 1.1.0 or newer for full DANE support. But we can't wait forever, and nothing in base uses DANE anyway, so here we go. Notes: svn path=/head/; revision=333551
* Add a script that runs configure for both ldns and drill.Dag-Erling Smørgrav2015-04-273-2/+32
| | | | | | | | | | Run configure for drill (I forgot to do it when I imported 1.6.17, but the omission was harmless). Note that running configure --with-drill at the top level doesn't quite work for us since it is geared toward the slightly weird upstream Makefiles, which we don't use. Notes: svn path=/head/; revision=282088
* Restore packaging subdir to enable running unmodified configure script.Dag-Erling Smørgrav2015-04-274-0/+299
| | | | Notes: svn path=/head/; revision=282087
* Don't cast away the const qualifier. Fixes gcc build.Dag-Erling Smørgrav2014-05-162-8/+8
| | | | Notes: svn path=/head/; revision=266238
* ldns_axfr_abort is apparently an undocumented API function. UnstaticizeDag-Erling Smørgrav2014-05-152-1/+7
| | | | | | | and add a prototype + documentation to the relevant header. Notes: svn path=/head/; revision=266193
* Remove dead files.Dag-Erling Smørgrav2014-05-152-729/+0
| | | | Notes: svn path=/head/; revision=266138
* Upgrade to latest ldns (1.6.17) and unbound (1.4.22).Dag-Erling Smørgrav2014-05-1568-5870/+19095
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=266114
* Build and install drill(1).Dag-Erling Smørgrav2013-09-222-0/+539
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255801
* Remove duplicate function declaration.Dag-Erling Smørgrav2013-09-151-17/+0
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255600
* The Unbound developers have never met a pointer game they didn't like.Dag-Erling Smørgrav2013-09-151-2/+2
| | | | | | | | | Fix needless deconsting. Approved by: re (blanket) Notes: svn path=/head/; revision=255599
* Clean up the ntop / pton code. Part of a patch which has been submittedDag-Erling Smørgrav2013-04-136-31/+47
| | | | | | | upstream but not yet adopted. Notes: svn path=/head/; revision=249453
* Last remaining prototype issue that still hasn't been fixed upstream.Dag-Erling Smørgrav2013-04-092-3/+1
| | | | Notes: svn path=/head/; revision=249308
* Revert local changes and pull in r3828 from upstream.Dag-Erling Smørgrav2013-04-098-269/+12
| | | | Notes: svn path=/head/; revision=249307
* #if out unused functions which trip up gcc but not clang.Dag-Erling Smørgrav2013-02-166-3/+18
| | | | Notes: svn path=/head/; revision=246883
* Upgrade to 1.6.16Dag-Erling Smørgrav2013-02-1558-1792/+2718
| | | | Notes: svn path=/head/; revision=246854
* Add generated filesDag-Erling Smørgrav2013-02-154-0/+1199
| | | | Notes: svn path=/head/; revision=246853
* Import LDNS and build it as an internal library.Dag-Erling Smørgrav2013-02-15119-0/+99881
Notes: svn path=/head/; revision=246827