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 Users Found This Useful
Was this answer helpful?

Related Articles

How to Install MRTG

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

Reset the SQL Server ‘sa’ user password?

Open Enterprise Manager and expand the registered SQL server. Expand Security. Click on...

How does memory overcommit affect PostgreSQL?

In Linux 2.4 and later, the default virtual memory behavior is not optimal for PostgreSQL....

Manage Query Cache

You can check whether the query cache is present in your MySQL server using the following...

Execute a SQL script (.sql file) on MsSql Server database

To execute a .sql file, you need to open the “Query Analyzer” Start -> Programs ->...