mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #305] [CLOSED] (wip) use resolv_conf to parse resolv.conf files #1356
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#1356
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/305
Author: @little-dude
Created: 12/1/2017
Status: ❌ Closed
Base:
master← Head:resolvconf📝 Commits (3)
0a05c84resolver: use resolv_conf to parse config files7b54029resolver: make domain optionalb97607bresolver: improve domain detection on unix📊 Changes
10 files changed (+501 additions, -748 deletions)
View changed files
📝
Cargo.lock(+53 -157)📝
resolver/Cargo.toml(+4 -7)➖
resolver/build.rs(+0 -10)📝
resolver/src/config.rs(+21 -11)📝
resolver/src/lib.rs(+3 -1)📝
resolver/src/resolver_future.rs(+8 -6)📝
resolver/src/system_conf/mod.rs(+6 -373)➖
resolver/src/system_conf/resolv_conf.lalrpop(+0 -55)➖
resolver/src/system_conf/resolv_conf_ast.rs(+0 -128)➕
resolver/src/system_conf/unix.rs(+406 -0)📄 Description
This is still work in progress but I'm opening early to have feedback about whether this is the right direction.
Here is what I did:
Eqis convenient to have for tests, andCopyis convenient forNameServerConfig)Note that for the moment, this depends on https://github.com/tailhook/resolv-conf/pull/5
Also, for the moment
resolv-confdoes not make a distinction betweendomainandsearch:github.com/tailhook/resolv-conf@d7ab0ce0a8/src/grammar.rs (L141-L149)I think this is an issue.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.