aboutsummaryrefslogtreecommitdiffstats
path: root/net/resolvers/service.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.resolvers: Report when hostname fails IDNAKim Alvefur2021-12-071-1/+1
| | | | | Not a particularly user-friendly error message, but better than "unable to resolve service" and having no clue where it came from.
* net.connect: Propagate last error message from resolversKim Alvefur2021-11-121-0/+8
| | | | | | | | Previously it would only say "unable to resolve server" for all DNS problems. While "NoError in A lookup" might not make much sense to users, it should help in debugging more than the previous generic error. Friendlier errors will be future work.
* net.resolvers.service: Only do DANE with secure SRV recordsKim Alvefur2021-07-181-0/+4
| | | | | | If this seems backwards, that' because it is but the API isn't really designed to easily pass along details from each resolution step onto the next.
* net.resolvers: Remove FIXMEs obsoleted by switch to libunboundKim Alvefur2020-06-251-3/+0
|
* net.resolvers.service: Fix resolving of targets with multiple IPsKim Alvefur2020-02-161-5/+8
| | | | | Each basic resolver was only used once and not kept around to try any IP addresses but the first one found.
* net.connect: Add some TODOs and FIXMEsKim Alvefur2019-12-071-0/+3
| | | | And mention issue numbers: #1246, #1428 and #1429
* net.resolvers.service: Pass IP literals directly to basic resolverKim Alvefur2019-11-241-0/+9
| | | | | | IP literals will not work with SRV records anyways. Fixes s2s with IP literals.
* Merge 0.11->trunkKim Alvefur2019-11-081-0/+1
|\
| * net.resolvers: Fix traceback from hostname failing IDNAKim Alvefur2019-11-081-0/+1
| | | | | | | | Related to #1426
* | Merge 0.11->trunkKim Alvefur2019-11-021-1/+7
|\|
| * net.resolvers: Abort on hostnames not passing IDNA validationKim Alvefur2019-11-021-0/+5
| | | | | | | | | | | | Prevents error on trying to use nil. Needs better error reporting in the future.
| * net.resolvers: Apply IDNA conversion to ascii for DNS lookups (fixes #1426)Kim Alvefur2019-11-021-1/+2
| |
* | net.resolvers.service: Fix DNS fallbackKim Alvefur2019-08-171-1/+5
| |
* | various: Don't rely on _G.unpack existingKim Alvefur2018-12-081-0/+1
|/
* net.resolvers.service: Sort SRV records in correct directionKim Alvefur2018-09-301-1/+1
|
* net.resolvers.service: Fix sorting SRV recordKim Alvefur2018-09-301-1/+1
|
* net.resolvers.service: Rename internal variable since net.connect uses it ↵Kim Alvefur2018-09-291-4/+4
| | | | for __tostring
* net.resolvers.service: Add support for fallback to bare domain and default portKim Alvefur2018-09-291-0/+3
| | | | The default port must be configured separately to enable this behavior
* net.resolvers.service: Early return on empty result setKim Alvefur2018-09-291-0/+5
|
* net.resolvers.service: Understand when service is explicitly unavailableKim Alvefur2018-09-291-0/+5
| | | | | | RFC2782 states: > A Target of "." means that the service is decidedly not available at > this domain.
* net.resolvers.service: net.connect resolver that uses SRV recordsKim Alvefur2018-09-271-0/+57