When you check the nameserver ips from WHM, it wont show the ip some times.
Main >> DNS Functions >> Nameserver IPsTo fix this, login to the server as root. The navigate to /var/cpanel.
#cd /var/cpanelThen make a backup of the file nameserverips.yaml
#cp nameserverips.yaml nameserverips.yaml.bkpNow edit the file using any editor.
#vi nameserverips.yamlIt will look like as shown below:
---Now make the following changes in the file.
ns1.yourdomain.com:
"": 0
count: '2'
zones: ns1.yourdomain.com,ns2.yourdomain.com
ns2.yourdomain.com:
"": 0
count: '2'
zones: ns1.yourdomain,ns2.yourdomain
---Where you should replace the nameservers ns1.yourdomain.com and ns2.yourdomain.com with your nameservers, and ips 10.10.10.1 and 10.10.10.2 to your name server ips.
ns1.yourdomain.com:
"10.10.10.1": 1
count: '2'
zones: ns1.yourdomain.com,ns2.yourdomain.com
ns2.yourdomain.com:
"10.10.10.2": 1
count: '2'
zones: ns1.yourdomain,ns2.yourdomain
No comments:
Post a Comment