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

Change the DNS servers for the network interfaces on Windows server

In Network Connections, right-click the local area connection, and then click Properties. In...

How is Linux Licensed?

Linus has placed the Linux kernel under the GNU General Public License, which basically means...

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...

ColdFusion DSN parameters are not updated

SYMPTOMS New CF DSN records are created.  Even the set of parameters is tried to be updated...

Manage Query Cache

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