Droplet can not find my spaces host
Sometimes my droplet with Ubuntu 18.04 loses connection with spaces:
ping myspacesname.fra1.digitaloceanspaces.com ping: myspacesname.fra1.digitaloceanspaces.com: Name or service not known
It almost completely breaks my site.
If I flush DNS cache with
sudo systemd-resolve --flush-caches it helps for a few minutes and then doesn’t work again.
After some time, probably more than an hour, everything starts working just fine.
Has anyone encountered such a problem?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×