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 Utilizadores acharam útil
Esta resposta foi útil?

Related Articles

Export the data from different tables in our shared SQL environment?

Using Enterprise Manager Expand SQL Server group Expand the server name Expand Databases...

Backing up and restoring a MySQL database from the command line

. Shell into your box as root, then: mysqldump -a -u USERNAME -p DATABASE > FILENAME.mysql...

Installation of Geotrust True Site Icon

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

Copy MySQL database to another server through shell?

Copying MySQL Databases to another server If you are using MySQL 3.23 or later, you can copy the...