-
Notifications
You must be signed in to change notification settings - Fork 113
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
Order of domain_name_servers and domain_name options matter #184
Labels
Comments
milan-zededa
added a commit
to milan-zededa/eve
that referenced
this issue
Feb 6, 2023
For some strange reason the order of dhcpcd arguments "domain_name_servers" and "domain_name" matters. In fact, domain name should be configured first, otherwise the list of DNS servers is not applied (or maybe gets reset?). I couldn't find the root cause for this odd behaviour in the dhcpcd source code or any explanation in the documentation. I decided to at least report the issue: NetworkConfiguration/dhcpcd#184 Signed-off-by: Milan Lenco <milan@zededa.com>
eriknordmark
pushed a commit
to lf-edge/eve
that referenced
this issue
Feb 7, 2023
For some strange reason the order of dhcpcd arguments "domain_name_servers" and "domain_name" matters. In fact, domain name should be configured first, otherwise the list of DNS servers is not applied (or maybe gets reset?). I couldn't find the root cause for this odd behaviour in the dhcpcd source code or any explanation in the documentation. I decided to at least report the issue: NetworkConfiguration/dhcpcd#184 Signed-off-by: Milan Lenco <milan@zededa.com>
rsmarples
added a commit
that referenced
this issue
Feb 7, 2023
So that domain_name doesn't overwrite domain_name_servers. Fixes #184.
rsmarples
added a commit
that referenced
this issue
Feb 7, 2023
rsmarples
added a commit
that referenced
this issue
Feb 7, 2023
Thank you @rsmarples for fixing this so quickly! |
jsfakian
pushed a commit
to jsfakian/eve
that referenced
this issue
Feb 9, 2023
For some strange reason the order of dhcpcd arguments "domain_name_servers" and "domain_name" matters. In fact, domain name should be configured first, otherwise the list of DNS servers is not applied (or maybe gets reset?). I couldn't find the root cause for this odd behaviour in the dhcpcd source code or any explanation in the documentation. I decided to at least report the issue: NetworkConfiguration/dhcpcd#184 Signed-off-by: Milan Lenco <milan@zededa.com>
rouming
pushed a commit
to rouming/eve
that referenced
this issue
Feb 13, 2023
For some strange reason the order of dhcpcd arguments "domain_name_servers" and "domain_name" matters. In fact, domain name should be configured first, otherwise the list of DNS servers is not applied (or maybe gets reset?). I couldn't find the root cause for this odd behaviour in the dhcpcd source code or any explanation in the documentation. I decided to at least report the issue: NetworkConfiguration/dhcpcd#184 Signed-off-by: Milan Lenco <milan@zededa.com>
eriknordmark
pushed a commit
to lf-edge/eve
that referenced
this issue
Feb 13, 2023
For some strange reason the order of dhcpcd arguments "domain_name_servers" and "domain_name" matters. In fact, domain name should be configured first, otherwise the list of DNS servers is not applied (or maybe gets reset?). I couldn't find the root cause for this odd behaviour in the dhcpcd source code or any explanation in the documentation. I decided to at least report the issue: NetworkConfiguration/dhcpcd#184 Signed-off-by: Milan Lenco <milan@zededa.com>
shjala
pushed a commit
to shjala/eve
that referenced
this issue
Feb 15, 2023
For some strange reason the order of dhcpcd arguments "domain_name_servers" and "domain_name" matters. In fact, domain name should be configured first, otherwise the list of DNS servers is not applied (or maybe gets reset?). I couldn't find the root cause for this odd behaviour in the dhcpcd source code or any explanation in the documentation. I decided to at least report the issue: NetworkConfiguration/dhcpcd#184 Signed-off-by: Milan Lenco <milan@zededa.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know if this is an intended behaviour or a bug, but the order of
domain_name
anddomain_name_servers
options for static configuration matters. In fact, domain name should be configured first, otherwise the list of DNS servers is not applied (or maybe gets reset?).With domain name preceding DNS servers, it works as expected:
However, if
domain_name_servers
are specified first, they will be ignored:Although I haven't tested
dhcpcd
with a configuration file, it seems that the same issue is also reproducible if config file is used instead of command line arguments, as reported in this comment.The text was updated successfully, but these errors were encountered: