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

Support falling back to multiple DNS servers from DNS config #257

Merged
merged 2 commits into from
Jun 25, 2021

Conversation

clue
Copy link
Member

@clue clue commented Jun 24, 2021

This changeset adds support for falling back to multiple DNS servers from DNS config. In other words, if you have multiple DNS servers configured (rare) and connectivity to the primary DNS server is broken (even rarer), it will now fall back to your other DNS servers.

This is done by simply passing the complete list of DNS servers down to the DNS component that is responsible for setting up the DNS executor stack. Accordingly, this builds on top of reactphp/dns#179 and reactphp/dns#180.

@clue clue added this to the v1.7.0 milestone Jun 24, 2021
@clue
Copy link
Member Author

clue commented Jun 24, 2021

The first commit updates this to the currently unreleased DNS component to show how this feature is used in this component (the build should be green). The second commit updates this to the release that has yet to be tagged. This is expected to fail at the moment and should be green once the release is tagged and the build is restarted.

This is ready for review. I will restart the build and merge once reviewed and the DNS component is tagged.

@clue clue changed the title [WIP] Support falling back to multiple DNS servers from DNS config Support falling back to multiple DNS servers from DNS config Jun 25, 2021
@clue
Copy link
Member Author

clue commented Jun 25, 2021

Restarted build and everyhing's green now that reactphp/dns v1.7.0 has been released :shipit:

@clue clue merged commit dff5fbe into reactphp:master Jun 25, 2021
@clue clue deleted the dns-multiple branch June 25, 2021 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants