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

Make DNS configuration optional #51

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Conversation

grembo
Copy link
Contributor

@grembo grembo commented Dec 10, 2023

If DNS IP is set, DNS name must also be set.

In case DNS IP is set in pot.default.conf and it is not matching the network, treat it like unset.

This should avoid breakage/annoyance with new setups while it should be backwards compatible, so it won't break existing setups.

Addresses bsdpot/pot#264

@grembo
Copy link
Contributor Author

grembo commented Dec 10, 2023

@pizzamig I originally implemented this against tag 0.4.4. Maybe we can tag a new release for potnet (mocking.rs seems broken at the moment, I had no nightly around for fixing it - maybe we can change it to something that won't require nightly?)

@grembo
Copy link
Contributor Author

grembo commented Dec 13, 2023

Added @hny-gd as a potential reviewer, as the end of the year is coming.

@pizzamig
Copy link
Collaborator

Hi. I've updated a few dependencies and everything is fine. You can just rebase and push-f and it everything should be green again!

If DNS IP is set, DNS name must also be set.

In case DNS IP is set in pot.default.conf and it is not
matching the network, treat it like unset.

This should avoid breakage/annoyance with new setups while
it should be backwards compatible, so it won't break existing
setups.
Copy link
Collaborator

@pizzamig pizzamig left a comment

Choose a reason for hiding this comment

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

Please ignore the code coverage failure. I've disabled it, as it tails to fetch the binary

@grembo grembo merged commit 0bd1ee1 into bsdpot:master Dec 18, 2023
4 of 5 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