| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(fixes #1763) (thanks rgd)
add_defaults() is supposed to merge 3 tables, the defaults in
luaunbound, the defaults from prosody and any config from the prosody
config file. In the case where no `unbound={}` has been in the config,
it skips over the merge and returns only the prosody built-in defaults.
This results in libunbound skipping reading resolv.conf and uses its
default behavior of full recursive resolution.
Prior to #1737 there were only two tables, the luaunbound defaults and
the prosody config, where bypassing the merge and returning the former
did the right thing.
|
|
|
|
| |
This error is an error, therefore it should be at the error level
|
|
|
|
|
| |
This mirrors the behaviour with net.dns and avoids the initialization
issue in #1737
|
|
|
|
|
| |
Modules using ids for logging should not need the now pretty large
medium one.
|
|
|
|
|
| |
Lazy initialization only worked for async queries, but prosodyctl check
dns uses sync queries.
|
|
|
|
|
| |
Shouldn't need a DNS resolver until later anyways. Might even be
sensible to only initialize if a query is actually attempted.
|
|
|
|
| |
Prepare for lazy-loading it.
|
| |
|
|
|
|
|
| |
This could cause weirdness if the error contains formatting options, but
should be reasonably safe with util.format
|
|
|
|
| |
Noticed the potential need for this thanks to Ge0rG
|
|
|
|
|
| |
Code existed in a separate project before merged into Prosody, so
util.promise was not always around.
|
|
|
|
|
| |
These are not needed since the watchfd API is provided by all net.server
backends.
|
|
|