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

Send DNS information from the server HTTPS response to the system using resolvconf #16

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

richardash1981
Copy link

This is a fix for #14 in the situation where:

  • The server provides DNS information in the HTTPS response but not in the pppd DNS settings
  • The local system uses resolvconf to take some of the pain out of managing the /etc/resolv.conf file.

It is activated by a command line option, which is off by default.

Richard Ash added 4 commits June 25, 2020 18:10
I found that the space after the = was missing in one line, which
produced a parse error (the line was dnsSuffixes =foo). This change
makes the parser work on this and similar whitespace variations
Funcationally the same, but all the code related to DNS set and cleanup
is now in a class of it's own, which is dependency injected so that
someone could write a version to directy manipulate /etc/resolv.conf if
they are feeling masochistic.
Turns out a lot of code here is the same.
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.

1 participant