Skip to content

Configurable HumanReadableName resolver - #195

Merged
benthecarman merged 2 commits into
lightningdevkit:mainfrom
tnull:2026-04-configurable-dns-resolver
May 1, 2026
Merged

Configurable HumanReadableName resolver#195
benthecarman merged 2 commits into
lightningdevkit:mainfrom
tnull:2026-04-configurable-dns-resolver

Conversation

@tnull

@tnull tnull commented Apr 21, 2026

Copy link
Copy Markdown
Collaborator

Bump LDK Node and add configurable HRN resolution.

Picks up support for resolving BIP 353 Human-Readable Names
(ldk-node PR #630), which adds `Config::hrn_config` and the
`HumanReadableNamesConfig` / `HRNResolverConfig` types.

Co-Authored-By: HAL 9000
@ldk-reviews-bot

ldk-reviews-bot commented Apr 21, 2026

Copy link
Copy Markdown

👋 Thanks for assigning @benthecarman as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@benthecarman benthecarman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be nice to one day add http support as well but mostly looks good!

Comment thread ldk-server/src/util/config.rs Outdated
Comment thread ldk-server/src/util/config.rs Outdated
Comment thread ldk-server/src/util/config.rs Outdated
@tnull

tnull commented Apr 24, 2026

Copy link
Copy Markdown
Collaborator Author

Addressed pending feedback.

@tnull
tnull requested a review from benthecarman April 24, 2026 10:45

@benthecarman benthecarman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm on squash

Exposes LDK Node's new `HumanReadableNamesConfig` via a new `[hrn]`
section in `config.toml`. Users can pick between resolving BIP 353
names locally over DNS (`mode = "dns"`, the default) or via bLIP-32
(`mode = "blip32"`), and, when using DNS, optionally run as an HRN
resolution service for the rest of the network.

Defaults match LDK Node's: resolve via DNS against `8.8.8.8:53` with
the resolution service disabled (enabling it requires the node to be
announceable so others can route resolution requests to us).

Co-Authored-By: HAL 9000
@tnull
tnull force-pushed the 2026-04-configurable-dns-resolver branch from a4af651 to 77aa6be Compare April 27, 2026 06:54
@tnull

tnull commented Apr 27, 2026

Copy link
Copy Markdown
Collaborator Author

lgtm on squash

Squashed without further changes.

@Anyitechs Anyitechs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@benthecarman
benthecarman merged commit 50fe752 into lightningdevkit:main May 1, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants