New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Need Help For Setting Up Main Domain AND DNS

Started by playdl, July 29, 2015, 12:39:17 PM

Previous topic - Next topic

playdl

Hello forgive me im not good with dns settings
i have installed cpw latest version on my vps now
i have a domain : playdl.ir
i want to use this as the main domain for server so when i want to add new domains i set their NS to :
ns1.playdl.ir
ns2.playdl.ir

in my domain registration panel i added these name servers with theri ips :
ns1.playdl.ir -> 148.251.224.27
ns2.playdl.ir -> 148.251.224.27
and in the server :

in the ( Edit Nameservers ) section i updated setting like this :
NS1 SubDomain -> ns1.playdl.ir -> 148.251.224.27
NS2 SubDomain -> ns2.playdl.ir -> 148.251.224.27
but when i save i get this error :


Stopping named: [  OK  ]
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
zone webira.ir/IN: NS 'ns1.webira.ir' has no address records (A or AAAA)
zone webira.ir/IN: NS 'ns2.webira.ir' has no address records (A or AAAA)
zone webira.ir/IN: not loaded due to errors.
_default/webira.ir/IN: bad zone
zone rdptools.me/IN: loaded serial 2013071600
zone ns1.playdl.ir/IN: loaded serial 2013071600
zone ns2.playdl.ir/IN: loaded serial 2013071600
/var/named/playdl.ir.db:29: ignoring out-of-zone data (ns1)
/var/named/playdl.ir.db:31: ignoring out-of-zone data (ns2)
zone playdl.ir/IN: loaded serial 2013071600
[FAILED]



ns1.playdl.ir resolves to
ns2.playdl.ir resolves to

brijendrasial

A name record to the DNS IP is missing. Adding that will resolve the issue