How to view edit or assign name servers to Ips in Linux Server

It is very simple to view edit or assign name servers to Ips in Linux Server through putty a command line system.

you may do that through the WHM/Cpanel interface as well, first we will discuss how we can do that all through WHM/cpanel

 


Use this path

Main > Server Configuration > Basic cPanel & WHM Setup

Scroll down to the page here you can assign or modify any ips against the name servers and save the configuration but in some cases it will not resolve at that time you need to use these commands in putty to manage it.

If you want to view the already assigned ips to name servers.

Login to SSH through Putty as root

and then use this command

pico /etc/nameserverips

Now if you want to modify or assign new ips use this command

cat /etc/nameserverips

Here now you can edit all the records, after editing save configurations.

Add a Comment

*