Step 1: Firstly you need to correct the entries for the name-server’s IP in file nameserverips
- SSH server as root user
- vi /etc/nameserverips
192.160.5.1=ns1.yourdomain.com
192.160.5.2=ns2.yourdomain.com
192.160.5.1 and 192.160.5.2 are IP address of the name server, You can use the same IP or the different IP addresses for each name server as per your requirement.
ns1.yourdomain.com and ns2.yourdomain.com are names of the name server's.
Step 2: make entries if name server in nameserverips.yaml file
- vi /var/cpanel/nameserverips.yaml
The configuration should look like below.
ns1.yourdomain.com:
“192.160.5.1″: 1
count: ’1′
ns2.yourdomain.com:
“192.160.5.2″: 1
count: ’1′
Now go back to WHM >> Main >> DNS Functions >> Nameserver IPs and it will reflect the changes and we are done.
No comments:
Post a Comment
Do Write about the Blog and Welcome to the world where open source is every thing :-)