Bug 466829 - Network details show wrong DNS
Summary: Network details show wrong DNS
Status: RESOLVED FIXED
Alias: None
Product: plasma-nm
Classification: Plasma
Component: applet (show other bugs)
Version: 5.27.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-04 13:27 UTC by itf2
Modified: 2023-03-21 08:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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