After upgrading to Kubuntu 19.04, I don't know how to write a service so that it can start after DNS service has been initialized.
In this past, I just use
After=network.target, but now it doesn't work. I also tried
After=network-online.target, but no luck.
So I think the problem is
systemd-resolved, how could I solve this problem?
ERROR: getaddrinfo: Temporary failure in name resolution ERROR: failed to resolve the provided hostname
These are two related logs. So I can confirm the problem is related to DNS service.