Bug 466829

Summary: Network details show wrong DNS
Product: [Plasma] plasma-nm Reporter: itf2
Component: appletAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: serrapmccall
Priority: NOR    
Version: 5.27.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description itf2 2023-03-04 13:27:38 UTC
SUMMARY
Network details show (alleged external) IP as primary DNS instead of the router IP(s).

STEPS TO REPRODUCE
1. Click system tray network symbol
2. Chose network
3. Switch to details

OBSERVED RESULT
Wrong DNS entry (e. g. 72.128.171.122)

EXPECTED RESULT
Router DNS because:

Output "nmcli":

DNS configuration:
        servers: 172.16.1.1 192.168.178.1

Output "cat /etc/resolv.conf":

nameserver 172.16.1.1
nameserver 192.168.178.1

SOFTWARE/OS VERSIONS
Linux/Kernel: openSUSE Tumbleweed 20230302 / 6.2.1-1-default (64-bit)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Force manual IP, Gateway and DNS via system settings has no effect on displayed DNS.

See also:
https://bugzilla.opensuse.org/show_bug.cgi?id=1208371#c6
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1539
Comment 1 serrapmccall 2023-03-08 01:27:01 UTC
cat /etc/resolv.conf  lists a different DNS than the applet for me too.
Comment 2 itf2 2023-03-13 11:27:33 UTC
Seems to be fixed with NetworkManager-1.42.4.

Please note https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1563