Repository navigation
network: set routes to DNS servers provided by DHCP - #13070
Merged
Merged
Conversation
poettering
reviewed
Jul 16, 2019
poettering
left a comment
Member
There was a problem hiding this comment.
I love this, this is excellent!
yuwata
force-pushed
the
network-set-route-to-dhcp-dns
branch
2 times, most recently
from
July 16, 2019 18:11
d9b444c to
f5629b0
Compare
Member
Author
|
@poettering Thank you for the review. I force-pushed a revised version. PTAL. |
yuwata
force-pushed
the
network-set-route-to-dhcp-dns
branch
from
July 16, 2019 22:02
f5629b0 to
1771406
Compare
keszybz
reviewed
Jul 17, 2019
keszybz
left a comment
Member
There was a problem hiding this comment.
Looks nice. Some refactoring suggestions below.
Member
There was a problem hiding this comment.
That's painful... Could we maybe adjust the clock?
Member
Author
There was a problem hiding this comment.
Maybe, #11883 will help this. But, I'd like to do that in a later PR.
yuwata
force-pushed
the
network-set-route-to-dhcp-dns
branch
from
July 17, 2019 17:29
1771406 to
9a118f3
Compare
Member
Author
yuwata
force-pushed
the
network-set-route-to-dhcp-dns
branch
from
July 18, 2019 12:49
9a118f3 to
f805ca6
Compare
Member
Author
|
Hmm, setting SetRoutesToDNS=yes by default seems to break Ubuntu CIs. |
Will be used later.
This re-writes d03073d.
yuwata
force-pushed
the
network-set-route-to-dhcp-dns
branch
from
July 18, 2019 16:56
f805ca6 to
195a18c
Compare
Member
Author
|
Updated. Now the setting is disabled by default. |
Member
Author
|
Now all CIs are green. PTAL. |
keszybz
approved these changes
Jul 19, 2019
| <listitem> | ||
| <para>When true, the routes to the DNS servers received from the DHCP server will be | ||
| configured. When <varname>UseDNS=</varname> is disabled, this setting is ignored. | ||
| Defaults to <literal>false</literal></para> |
This file contains hidden or 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
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.
Closes #11961.
Currently, only DNS servers provided by DHCPv4 are supported. If this is accepted, then I will do that for DHCPv6 in later PR.