aboutsummaryrefslogtreecommitdiffstats
path: root/net/unbound.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.id: Adjust entropy levels, with rationalesKim Alvefur2021-12-021-1/+1
| | | | | Modules using ids for logging should not need the now pretty large medium one.
* net.unbound: Fix to initialize under prosodyctlKim Alvefur2021-01-211-0/+1
| | | | | Lazy initialization only worked for async queries, but prosodyctl check dns uses sync queries.
* net.unbound: Delay loading until server has started or first queryKim Alvefur2021-01-051-1/+4
| | | | | Shouldn't need a DNS resolver until later anyways. Might even be sensible to only initialize if a query is actually attempted.
* net.unbound: Move libunbound initialization into a functionKim Alvefur2021-01-051-4/+7
| | | | Prepare for lazy-loading it.
* net.unbound: Allow tracing individual queries with a logger per queryKim Alvefur2021-01-051-6/+9
|
* net.unbound: Don't pass error as logger formatting stringKim Alvefur2021-01-051-1/+1
| | | | | This could cause weirdness if the error contains formatting options, but should be reasonably safe with util.format
* net.unbound: Log net.server interactionsKim Alvefur2021-01-051-0/+2
| | | | Noticed the potential need for this thanks to Ge0rG
* net.unbound: Remove compat for missing promises (pre-0.11)Kim Alvefur2020-06-251-15/+12
| | | | | Code existed in a separate project before merged into Prosody, so util.promise was not always around.
* net.unbound: Strip support for legacy net.server APIsKim Alvefur2020-06-251-37/+3
| | | | | These are not needed since the watchfd API is provided by all net.server backends.
* net.unbound: Async DNS resolver library based on libunbound via luaunboundKim Alvefur2019-03-091-0/+245