SUMMARY Rather than getting dns infos from my router (from my isp), I changed to another one. To quad9 for the time being. NM ignores it and continue to use my router's address (192.168.2.2) as the primary dns. STEPS TO REPRODUCE 1. Edit connections. 2. Switch ti IP4 tab. 3. Choose the proper method (and I tried them all, just in case) and enter the 2 adrreses of quad9 (or whatever dns provider you want. Google, open dns etc.). -> OK. Rebooting doesn't help. OBSERVED RESULT Continue using my local isp and ignoring what I entered. EXPECTED RESULT To use whatever dns provider you just choose. On a 2nd look, I noticed that at /var/run/NetworkManager/resolv.conf it keeps as the first solution my router's ip. Here it is: # Generated by NetworkManager nameserver 192.168.2.1 nameserver 9.9.9.9 nameserver 149.112.112.112 Commenting it out or deleting it, solves the problem. SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.8.6. KDE Frameworks Version: 5.28.0. Qt Version: 5.7.1. ADDITIONAL INFORMATION On Devuan ASCII x64 KDE.
You should select "Automatic (only addresses)" as method option and then put the dns server you want to use. Simply disconnecting and connecting again should apply the change. Can you attach here output from "nmcli -f all connection show connection_name"? If in the dns field you see your configured DNS server, then I'm afraid that the problem is not on our side, but you will be required to report it for NetworkManager.
Can you provide requested information?
Sorry for the delay! :-( I didn't receive any notification for your reply! >nmcli -f all connection show connection_name Error: connection_name - no such connection profile. >
You were supposed to change "connection_name" and put there name of your connection where you have this problem.
Sorry!!! :-) I'm in a hurry these days, thus the error. https://paste.kde.org/pbbdnplrv/bea0fe
It's password protected, can you either upload it again or share the password?
Sorry!!! :-( Somehow it was marked as private. I just removed this flag. It should be working now.
I think it looks correct from plasma-nm point of view. The dns option is correctly set. I would suggest reporting this problem to NetworkManager instead. NM bugzilla: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues
OK! I'll do it. THANKS! :-) G.