[DNS] Temporary failure resolving...
This article covers what to do if you encounter issues with your DNS servers.
The error looks roughly as follows:
Â

Â
We will demonstrate two ways to resolve this issue: via SSH access and via sFTP access.
Using SSH
Use the Nano editor to view and edit the resolv.conf file, which is used to configure the server DNS. Run the following command:
nano /etc/resolv.conf
Â
The resolv.conf file editor will open in front of you.

In this file, you need to specify a nameserver for your OS.
Add the following lines to the file:
nameserver 8.8.8.8
nameserver 1.1.1.1

Press Ctrl + X to exit the file, then press Y to save the changes.

Â
Then press Enter to keep the file name unchanged.

Using sFTP
Connect to your server via sFTP. Then navigate to the /etc directory and locate the resolv.conf file there.

Â
Open it with any text editor.

Here, you need to add appropriate nameserver entries. It is recommended to specify several of them in case one becomes unavailable.
nameserver 8.8.8.8
nameserver 1.1.1.1

Great, save the file and upload it back to the server.








