Repository navigation
update to hickory 0.26 - #66
Conversation
|
i hate the new config file format |
I agree hickory-dns/hickory-dns#3303 |
Co-authored-by: msrd0 <msrd0@users.noreply.github.com>
|
should we keep the default of |
msrd0
left a comment
There was a problem hiding this comment.
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?
| pub port: Option<u16>, | ||
| pub bind_addr: Option<SocketAddr>, | ||
| //custom | ||
| pub server_name: Arc<str> |
There was a problem hiding this comment.
Out of curiosity, why do we use Arc<str> here? What advantage does it have over String?
There was a problem hiding this comment.
it is the type which the hickory config take.
https://docs.rs/hickory-resolver/latest/hickory_resolver/config/enum.ProtocolConfig.html
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>
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) |
update of readme config example is still missing