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 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

Related Articles

How does memory overcommit affect PostgreSQL?

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

Fix Lame Nameserver Error

A lame server, is one that is specifed at the registrar to be authoritative for a domain, but...

Finding what packages are installed on a Linux system

For distributions that use RPM format packages, use the command: $ rpm -qa You may want to...

Enable the full text indexing for a MSSQL database

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