Manually setup your name server IPs on a cPanel server
This tutorial describes how to manually setup your name server IPs on your cPanel server
Edit this file
nano /etc/nameserverips
The format of the file is IP address = name server. For example:
123.456.789.00=ns1.yournamesercer.com
Just put the IP address that you want to add in the first part and the name of the new name server in the second part.
You really don’t have to worry about adding name servers to this list though, it doesn’t have any real affect on your server.
The server listens to port 53 on all the IPs assigned to the server irregardless of whether the IP is listed in the file or not.
It’s just to help you keep track of the IPs that you’ve already assigned to name server.
to reboot or add IPs /etc/init.d/ipaliases restart
|
|
|
|
|
|
Related posts:
- The old JavaScript cPanel Server exploit The Javascript exploit has been an old saga on a...
