-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add support for Windows DNS nameserver configuration #40
Conversation
This drops the default Google nameservers, as they were only required for Windows. Fixes #38.
@kelunik, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bwoebi, @rdlowrey and @DaveRandom to be potential reviewers. |
I added the default servers back, but issue a deprecation warning instead now. That allows creating a minor release now and removing them in the next major release. I don't want to change all packages now to upgrade to a new major for that one. |
$reader = new WindowsRegistry; | ||
$nameserver = null; | ||
|
||
while ($key = array_shift($keys)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just foreach?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't really matter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not remove default nameservers.
Or is there any reason why deprecating these?
@bwoebi Every known system should work now. If there's one that doesn't work, we should be made aware of it and fix it. A broken config should error, not simply send all your DNS queries to Google. |
Args, a bit too fast... |
Alpine doesn't have dig by default. Thought I'd add it to the doc.
This drops the default Google nameservers, as they were only required for Windows.
Fixes #38.