mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 19:25:56 +03:00
[PR #338] [MERGED] Make read_system_conf() function public #1380
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#1380
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/338
Author: @oherrala
Created: 2/8/2018
Status: ✅ Merged
Merged: 2/11/2018
Merged by: @bluejekyll
Base:
master← Head:pub-resolv-conf📝 Commits (2)
a1e5189Make read_system_conf() function public978d8ddMerge branch 'master' into pub-resolv-conf📊 Changes
3 files changed (+4 additions, -4 deletions)
View changed files
📝
resolver/src/system_conf/mod.rs(+2 -2)📝
resolver/src/system_conf/unix.rs(+1 -1)📝
resolver/src/system_conf/windows.rs(+1 -1)📄 Description
There are cases where it's useful to get configured DNS servers from running system. For example I'm using trust-dns DNS client with host's configured DNS servers from
/etc/resolv.conf. Making this function public scratches that itch.Before merging #335 the function
read_resolv_conf()was public, but it has no equivalent on Windows side.read_system_conf()is available on all platforms.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.