I asked on the upstream mailing list and got the following answer:
----------
Hi,
the domain specification in the configuration reported on launchpad:
[Resolve]
Cache=no
DNS=127.0.0.54
Domains=~.local.org.com
is invalid:
systemd-resolved[13415]: Failed to add search domain '~.local.org.com',
ignoring: Invalid argument
The correct form should be without the dot:
Domains=~local.org.com
Can you ask to fix that configuration error and try again? Otherwise,
queries for the local.org.com domain are not routed to the local
dnsmasq instance.
Beniamino
----------
Could you correct your configuration and try again? Please report back
here, thanks.
** Changed in: network-manager (Ubuntu Bionic)
Status: Triaged => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1829566
Title:
network-manager 1.10.14-0ubuntu2 ignores systemd-resolved configured
dns
Status in network-manager package in Ubuntu:
Triaged
Status in network-manager source package in Bionic:
Incomplete
Bug description:
On 18.04.2 the `upgrade network-manager:amd64 1.10.6-2ubuntu1.1
1.10.14-0ubuntu2` lead to scoped DNS servers defined in
`/etc/systemd/resolved.conf.d/*.conf` being ignored.
Downgrading with `sudo apt-get install network-
manager=1.10.6-2ubuntu1.1` has resolved the issue for now.
Example systemd-resolved conf:
[Resolve]
Cache=no
DNS=127.0.0.54
Domains=~.local.org.com
Where 127.0.0.54:53 is bound to a dnsmasq server capable of resolving
queries in that subdomain.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1829566/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp