It's interesting that for both of you the output of "resolvctl" shows
"resolv.conf mode: foreign", which is non-default and unsupported by
Ubuntu. It should be using "stub" mode.

/etc/resolv.conf should be a symlink to /run/systemd/resolve/stub-
resolv.conf in order to be managed by sd-resolved. But it seems to be
managed by a different tool on your system.

Can you please revert to the default, e.g. using:
$ ls -la /etc/resolv.conf
$ mv /etc/resolv.conf /etc/resolv.conf.BAK
$ ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
$ systemctl restart systemd-resolved
$ resolvectl

And report back if this improves the situation for you?

** Changed in: netplan.io (Ubuntu)
       Status: Incomplete => Invalid

** Changed in: systemd (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1982553

Title:
  Search domains not working after upgrading to Ubuntu 22.04

Status in netplan.io package in Ubuntu:
  Invalid
Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  Hello,

  After upgrading to Ubuntu 22.04, I noticed that search domains are not
  working anymore.

  Either I configure search domains via netplan or with graphical "nm-
  connection-editor", this is not taken into account when resolving
  domain names.

  For instance if I configure "domain.com" in search domains list,
  looking for "host" does not look for "host.domain.com". This is
  confirmed with a wireshark capture. Consequently if I want to connect
  with SSH to host.domain.com, I have to type the entire url.

  In Ubuntu 20.04 this works correctly. With a packet capture I can see
  one domain lookup for each of my search domains configured.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1982553/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to