SpaceCore WIKI
English
English
  • Personal Account and Registration
    • Account registration
    • «Customer» section
    • «Finance» section
    • Account Verification (KYC)
  • Customer service
    • How do I place an order?
    • How to contact support?
    • The Game Hosting panel
    • Setting Up BILLmanager 6 for Reselling
  • Communications
    • Notifications in Telegram
    • Web Hosting Notifications
    • Using a ping bot in Telegram
  • Information board
    • Blocked ports (VPS/VDS)
    • What is IOPS?
    • VAT for the EU and UK
  • VPS and Dedicated Servers
    • How to use VPS/VDS?
    • Changing the Password for VDS
  • OS and software configuration
    • Java [Linux]
    • Screen
    • Linux Password Recovery
    • Connecting via SSH keys
    • Disabling access to Linux using a password
    • Deploying MikroTik RouterOS on VDS
  • AI
    • Deploying DeepSeek on your server in just a few clicks
  • Windows
    • RDP connection
    • Configuring the RDP connection
    • Changing the password
    • Installation via QEMU
    • How to add an IPv4
    • Download files
    • Bruteforce Windows
  • Network Setup and Security
    • No interaction with private networks
    • Working with TCPDump
    • Change MTU Value
    • Configure IPTables
    • [DNS] Temporary failure resolving...
    • Network Speed Measurement [SpeedTest]
    • How do I buy a domain name?
    • How do I direct my domain to an IP address?
    • How to Protect Your Server? Basics of Cybersecurity
  • VPN and Privacy
    • WireGuard VPN [Easy]
    • OpenVPN [Easy]
    • Outline VPN Installation
    • Installing TorrServer
    • Installing 3X UI
    • Installing Marzban
    • Proxy for Specific Websites (V2RayN)
    • Use Nekoray
  • System monitoring
    • Traffic monitoring via VnStat
    • How to use the MTR tool
    • Getting Serial Numbers of Drives
  • Administration and Backups
    • Working with FTP Repository
    • Auto-shipment of backups
    • Installing an FTP Server
    • Mounting Linux Drives
  • Web development
    • Installing Apache2
    • Installing Nginx
    • Installing PHP
    • Installing MySQL
    • Installing PhpMyAdmin
    • Let's Encrypt SSL Generation
  • Minecraft
    • Installing Minecraft Java Server
    • Installing the Minecraft Bedrock/PE server
    • Installing the BungeeCord server
    • Installing Sponge Forge 1.12.2 Kernel
    • Configuring server.properties
    • Installing the icon on the server
    • Launch Options
    • Installing a resource pack on the server
  • Hetzner Servers
    • Control Panel
    • Password change via Rescue
    • Installing the operating system
  • 🇩🇪Contabo
    • The Control Panel
    • Disk space expansion
Powered by GitBook
On this page
  • Use SSH
  • Use sFTP
PreviousConfigure IPTablesNextNetwork Speed Measurement [SpeedTest]

Last updated 1 year ago

In case you have problems with DNS servers.

The error looks like this:

We will show two ways to solve the problem, through SSH-access and through sFTP-access.

Use SSH

Use the Nano utility to browse and edit the resolv.conf file where you configure our server’s DNS. Enter the command

nano /etc/resolv.conf

The file editor opened before us resolv.conf

File will be empty, or it will contain text as a description, depending on the selected distribution Linux.

This file must specify nameserver for your OS.

Which nameserver to choose? You can read more about this at the very end of the article. In this case, we will use DNS 8.8.8.8 as the primary.

Enter this text in 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 as it is.

Use sFTP

Connect to our server via sFTP. Next we need to go to the directory /etc and find there the file resolv.conf

Open it with any text editor.

The file will be empty, or it will contain text as a description, depending on the Linux distribution you choose.

We need to add the optimal nameserver here, we will point them out several, in case of problems with one of them.

nameserver 8.8.8.8
nameserver 1.1.1.1

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