[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1038685: plasma-nm: DNS priority is not properly set when multiple connections present



Package: plasma-nm
Version: 4:5.27.5-2
Severity: normal
X-Debbugs-Cc: z00823823@outlook.com

Dear Maintainer,

   * What led up to the situation?
        I have a laptop with wifi and 4G mobile network connected, and set the
wifi DNS in KDE settings, and leave the 4G DNS default. However, in the
/etc/resolve.conf, the 4G network's DNS server is listed before my wifi DNS,
even when I'm using wifi. Here is the resolve.conf:

lxyan@X1-Nano ~> cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 221.6.4.66           # 4G's default DNS
nameserver 58.240.57.33         # 4G's default DNS
nameserver 223.6.6.6            # wifi DNS
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver 223.5.5.5
nameserver 172.20.10.1
nameserver 2400:3200:baba::1
nameserver 2400:3200::1
nameserver fe80::5ce9:1eff:fef3:3b64%wlp0s20f3

This lead to some apps, like apt and ping, to use 4G's DNS even when I'm using
wifi, causing a long latency when solving DNS.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
        I set the 4G's DNS to the same as wifi's DNS to workaround this issue.

   * What was the outcome of this action?
        Issus workrounded

   * What outcome did you expect instead?
        plasma-nm set the dns-priority accoring to current connection.



-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages plasma-nm depends on:
ii  kio                             5.103.0-1
ii  libc6                           2.36-9
ii  libglib2.0-0                    2.74.6-2
ii  libkf5completion5               5.103.0-1
ii  libkf5configcore5               5.103.0-2
ii  libkf5configwidgets5            5.103.0-1
ii  libkf5coreaddons5               5.103.0-1
ii  libkf5dbusaddons5               5.103.0-1
ii  libkf5i18n5                     5.103.0-1
ii  libkf5kiogui5                   5.103.0-1
ii  libkf5kiowidgets5               5.103.0-1
ii  libkf5modemmanagerqt6           5.103.0-1
ii  libkf5networkmanagerqt6         5.103.0-1
ii  libkf5notifications5            5.103.0-1
ii  libkf5solid5                    5.103.0-1
ii  libkf5wallet-bin                5.103.0-1
ii  libkf5wallet5                   5.103.0-1
ii  libkf5widgetsaddons5            5.103.0-1
ii  libkf5windowsystem5             5.103.0-1
ii  libnm0                          1.42.4-1
ii  libopenconnect5                 9.01-3
ii  libqca-qt5-2                    2.3.5-2
ii  libqt5core5a                    5.15.8+dfsg-11
ii  libqt5dbus5                     5.15.8+dfsg-11
ii  libqt5gui5                      5.15.8+dfsg-11
ii  libqt5network5                  5.15.8+dfsg-11
ii  libqt5qml5                      5.15.8+dfsg-3
ii  libqt5quickwidgets5             5.15.8+dfsg-3
ii  libqt5widgets5                  5.15.8+dfsg-11
ii  libqt5xml5                      5.15.8+dfsg-11
ii  libstdc++6                      12.2.0-14
ii  mobile-broadband-provider-info  20230416-1
ii  network-manager                 1.42.4-1
ii  plasma-framework                5.103.0-1
ii  qml-module-org-kde-kcoreaddons  5.103.0-1
ii  qml-module-org-kde-kirigami2    5.103.0-1
ii  qml-module-org-kde-prison       5.103.0-1

Versions of packages plasma-nm recommends:
ii  systemsettings  4:5.27.5-2

Versions of packages plasma-nm suggests:
pn  network-manager-fortisslvpn  <none>
pn  network-manager-iodine       <none>
pn  network-manager-l2tp         <none>
pn  network-manager-openconnect  <none>
pn  network-manager-openvpn      <none>
pn  network-manager-pptp         <none>
pn  network-manager-ssh          <none>
pn  network-manager-strongswan   <none>
pn  network-manager-vpnc         <none>

-- no debconf information


Reply to: