Fix nameservers not working for Linux servers

If you have your own namerservers or you are using nameservers provided by host, and these nameservers aren’t working :

Solution –

Edit the  file /etc/resolv.conf and put in the IP’s of the namerservers.

Command –

nano /etc/resolv.conf

Write in the following

nameserver xx.xx.xx.xx

nameserver xx.xx.xx.xx

where xx.xx.xx.xx = IP of namerserver.

Hit ctrl + x and save the changes.

restart named service

Command –.

service named restart

You are done.

  • Email, SSL
  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Related Articles

Enable the full text indexing for a MSSQL database

Syntax sp_fulltext_database Initializes full-text indexing or removes all full-text catalogs...

MySQL will not start, “MySQL File ‘/usr/share/mysql/charsets/?.conf’ not found” in error log.

The most common cause for this error, is a failed downgrade of MySQL from 4.1 to 4.0.  Many...

Installation of Geotrust True Site Icon

Installation of True Site icon: Per the subscriber agreement, you are required to install the...

How to Install MRTG

Solution Steps for MRTG installation are documented as MRTG Installation Make sure MRTG is NOT...

Change the root password for a *nix server

In order to change the root password login to the server as root and type the following, then...