Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(network): add DNS servers configuration #83

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

M0dEx
Copy link
Owner

@M0dEx M0dEx commented Aug 3, 2024

Added DNS configuration for Linux, FreeBSD and MacOS (Windows TBD).

Bumped MSRV to 1.80 due to std::sync::LazyLock.

Closes #76.

@M0dEx M0dEx changed the title feat(network): add DNS servers configuration for Linux, FreeBSD, MacOS feat(network): add DNS servers configuration Aug 4, 2024
@M0dEx M0dEx force-pushed the #76/dns-configuration branch 2 times, most recently from db43fdb to bf61005 Compare August 5, 2024 07:15
Copy link

codecov bot commented Aug 5, 2024

Codecov Report

Attention: Patch coverage is 9.63855% with 150 lines in your changes missing coverage. Please review.

Project coverage is 69.73%. Comparing base (b4ac966) to head (5b96945).

Files Patch % Lines
src/network/dns/darwin.rs 0.00% 79 Missing ⚠️
src/network/dns/linux.rs 0.00% 32 Missing ⚠️
src/network/interface.rs 0.00% 10 Missing ⚠️
src/utils/command.rs 0.00% 10 Missing ⚠️
src/client.rs 57.14% 9 Missing ⚠️
src/network/route.rs 0.00% 6 Missing ⚠️
src/network/dns/windows.rs 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
- Coverage   79.71%   69.73%   -9.98%     
==========================================
  Files          18       22       +4     
  Lines         991     1150     +159     
==========================================
+ Hits          790      802      +12     
- Misses        201      348     +147     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Added DNS configuration for Linux, FreeBSD and MacOS (Windows TBD).

Bumped MSRV to 1.80 due to stdlib LazyLock.
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.

Add automatic DNS configuration
1 participant