forked from adrienverge/openfortivpn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split-dns seems to be quite a complicated thing to implement correctly, and probably depends on something like systemd-resolvd or NetworkManager support to be added, as discussed here: adrienverge#561 In the mean time DNS is not working at all if no global dns is set. This patch implements a slightly ugly workaround by using the split-dns info as the default dns when no default dns was configured in the xml response. I expect that the two settings are mutually exclusive in any case, but I don't understand DNS well enough to be sure.
- Loading branch information
Showing
2 changed files
with
57 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters