*** This bug is a duplicate of bug 1907878 ***
https://bugs.launchpad.net/bugs/1907878
I am getting DOMAINS in /etc/resolve.conf:
DOMAINS is initialized with "DOMAINS" in `/etc/network/if-up.d/resolved`
and set in /run/systemd/resolve/netif/*
```bash
$ cat /run/systemd/resolve/netif/3
# This is private data. Do not parse.
LLMNR=yes
MDNS=no
SERVERS=DNS
DOMAINS=DOMAINS
```
systemd-resolved adds DOMAINS to domains-searchlist:
```bash
cat /etc/resolv.conf
# This is /run/systemd/resolve/resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients directly to
# all known uplink DNS servers. This file lists all configured search domains.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 127.0.0.1
nameserver 192.168.2.1
search DOMAINS lan
```
DOMAINS=$DOMAINS would have no effect and could be omitted,
As there are further errors form the if-down script (resolved: 12:
mystatedir: not found),
i've removed both `/etc/network/if-up.d/resolved` and `/etc/network/if-
down.d/resolved`.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910273
Title:
Upgrade to groovy breaks DNS resolution
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1910273/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs