-
-
Notifications
You must be signed in to change notification settings - Fork 493
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 configuring network locations #1048
Open
tjni
wants to merge
1
commit into
LnL7:master
Choose a base branch
from
tjni:network-locations
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Can you rebase this on master? |
04a1cba
to
c7bf74e
Compare
Done! |
c7bf74e
to
ebe9356
Compare
60e32dc
to
690601e
Compare
82bec0b
to
630c7c6
Compare
630c7c6
to
a560de3
Compare
a568db3
to
b185b6a
Compare
4e03543
to
27be7a7
Compare
27be7a7
to
e74d601
Compare
09e73b7
to
9f7bb93
Compare
9f7bb93
to
5387b21
Compare
5387b21
to
8104a7c
Compare
I would love to see this merged :) Using different DNS arrangements is also my use case. |
8104a7c
to
d7efcbc
Compare
This adds support for configuring DNS servers and search domains for each location. This is exposed through the networking.location option. The networking.knownNetworkServices option now applies globally across all locations. The networking.dns and networking.search options are now aliases under networking.location.Automatic, since the "Automatic" network location is the default location on an unconfigured system.
d7efcbc
to
f55115b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds support for configuring DNS servers and search domains for each location.
This is exposed through the
networking.location
option. Thenetworking.knownNetworkServices
option now applies globally across all locations.The
networking.dns
andnetworking.search
options are now aliases undernetworking.location.Automatic
, since the "Automatic" network location is the default location on an unconfigured system.Below is a sample from my own configuration illustrating usage. I configure DNS servers on my Home location in order to bypass my AT&T router adding AT&T's DNS server automatically: