-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add static DNS server migration #34
Comments
As for the implementation, AFAICT Netconfig isn't represented inside |
The way I see it there are basically 2 possibilities to 'imitate' the netconfig behavior for NM. Global DNSPros:
Cons:
Setting DNS for every connectionPros:
Cons:
For #75 I chose the global DNS config approach because I personally think it's the better option but changing it to the other approach can be done relatively quickly, so it's no problem if we choose differently in the end. |
It looks like there is a way to reread only the dns-configuration https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/main/src/nmcli/general.c#L350 |
This enum somehow explain quite good what |
Previous discussion revealed that probably a full migration isn't possible (e.g.
NETCONFIG_DNS_POLICY="STATIC_FALLBACK"
isn't possible with NetworkManager).But e.g.
NETCONFIG_DNS_STATIC_SERVERS
should be migrated.The text was updated successfully, but these errors were encountered: