Skip to content

update to hickory 0.26 - #66

Merged
LuckyTurtleDev merged 16 commits into
mainfrom
hickory_0.26
May 11, 2026
Merged

LuckyTurtleDev merged 16 commits into
mainfrom
hickory_0.26

Conversation

@LuckyTurtleDev

Copy link
Copy Markdown
Owner

update of readme config example is still missing

@LuckyTurtleDev

Copy link
Copy Markdown
Owner Author

i hate the new config file format

@LuckyTurtleDev
LuckyTurtleDev requested a review from msrd0 April 17, 2026 12:38
@msrd0

msrd0 commented Apr 18, 2026

Copy link
Copy Markdown
Collaborator

i hate the new config file format

I agree hickory-dns/hickory-dns#3303

Comment thread src/main.rs Resolved
Comment thread config.toml Resolved
LuckyTurtleDev and others added 2 commits April 20, 2026 12:46
Co-authored-by: msrd0 <msrd0@users.noreply.github.com>
@LuckyTurtleDev
LuckyTurtleDev marked this pull request as draft April 20, 2026 13:51
@LuckyTurtleDev
LuckyTurtleDev marked this pull request as ready for review April 21, 2026 09:24
@LuckyTurtleDev
LuckyTurtleDev requested a review from msrd0 April 21, 2026 09:27
@LuckyTurtleDev

Copy link
Copy Markdown
Owner Author

should we keep the default of trust_negative_responses at true?

@LuckyTurtleDev
LuckyTurtleDev marked this pull request as draft April 21, 2026 09:33
@LuckyTurtleDev
LuckyTurtleDev marked this pull request as ready for review April 21, 2026 12:45

@msrd0 msrd0 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.

If we introduce our own config format, why make it different to the one used by crab-hole 0.2? Couldn't we just keep it stable?

Comment thread src/config.rs Resolved
Comment thread src/config.rs Resolved
Comment thread src/config.rs Resolved
Comment thread src/config.rs Resolved
Comment thread src/config.rs
pub port: Option<u16>,
pub bind_addr: Option<SocketAddr>,
//custom
pub server_name: Arc<str>

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.

Out of curiosity, why do we use Arc<str> here? What advantage does it have over String?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Comment thread src/config.rs Resolved
LuckyTurtleDev and others added 5 commits May 5, 2026 15:21
Co-authored-by: msrd0 <msrd0@users.noreply.github.com>
Co-authored-by: msrd0 <msrd0@users.noreply.github.com>
Co-authored-by: msrd0 <msrd0@users.noreply.github.com>
Co-authored-by: msrd0 <msrd0@users.noreply.github.com>
@LuckyTurtleDev

Copy link
Copy Markdown
Owner Author

If we introduce our own config format, why make it different to the one used by crab-hole 0.2? Couldn't we just keep it stable?

this should not be easily possible. some stuff change at hickory, like the port is now a own dedicate field. I would like to avoid to much post processing on the config, especially any parsing/interpreting the input. Also some stuff simple change. Like udp and tcp do not have a server_name/tls_dns_name name anymore (his was previous possible)

@LuckyTurtleDev
LuckyTurtleDev requested a review from msrd0 May 5, 2026 13:50
@LuckyTurtleDev
LuckyTurtleDev merged commit 8002d10 into main May 11, 2026
54 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.

2 participants