[GH-ISSUE #2447] Are there any ways to set tls_config in NameServerConfig from file #992

Closed
opened 2026-03-16 01:12:23 +03:00 by kerem · 4 comments
Owner

Originally created by @hingbong on GitHub (Sep 10, 2024).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2447

I built the bin as a dns forwarder, and I want to set enable_early_data to upstreams, but pub struct TlsClientConfig(pub Arc<ClientConfig>);, the Arc is unable to deserialization from file, are there any ways to set tls_config in NameServerConfig from file?

Originally created by @hingbong on GitHub (Sep 10, 2024). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2447 I built the `bin` as a dns forwarder, and I want to set `enable_early_data` to upstreams, but `pub struct TlsClientConfig(pub Arc<ClientConfig>);`, the `Arc` is unable to deserialization from file, are there any ways to set `tls_config` in NameServerConfig from file?
kerem closed this issue 2026-03-16 01:12:28 +03:00
Author
Owner

@djc commented on GitHub (Sep 10, 2024):

There is no way to do that currently. Why do you want/need this?

<!-- gh-comment-id:2340199034 --> @djc commented on GitHub (Sep 10, 2024): There is no way to do that currently. Why do you want/need this?
Author
Owner

@hingbong commented on GitHub (Sep 10, 2024):

There is no way to do that currently. Why do you want/need this?

I just want to do some tests

<!-- gh-comment-id:2340206853 --> @hingbong commented on GitHub (Sep 10, 2024): > There is no way to do that currently. Why do you want/need this? I just want to do some tests
Author
Owner

@djc commented on GitHub (Sep 10, 2024):

Okay, well, I'm happy to review a PR for this.

<!-- gh-comment-id:2340210878 --> @djc commented on GitHub (Sep 10, 2024): Okay, well, I'm happy to review a PR for this.
Author
Owner

@hingbong commented on GitHub (Sep 11, 2024):

I dont know how to use serde to set this, so I modified source code directly for myself using, haha

<!-- gh-comment-id:2342868395 --> @hingbong commented on GitHub (Sep 11, 2024): I dont know how to use serde to set this, so I modified source code directly for myself using, haha
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#992
No description provided.