Try using this:

https://www.freedesktop.org/software/systemd/man/resolved.conf.html#Domains=
"Use the construct "~." (which is composed of "~" to indicate a routing domain 
and "." to indicate the DNS root domain that is the implied suffix of all DNS 
domains) to use the system DNS server defined with DNS= preferably for all 
domains."

cat /etc/systemd/resolved.conf.d/99-local-fqdn-wa.conf 
[Resolve]
DNS=192.0.2.1 192.0.2.2 192.0.2.3
Domains=~.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699660

Title:
  systemd-resolve breaks resolution of local network hostnames

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1699660/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to