Author Topic: Need Help For Setting Up Main Domain AND DNS  (Read 3523 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Need Help For Setting Up Main Domain AND DNS
« on: July 29, 2015, 12:39:17 PM »
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 :
Code: [Select]

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

Re: Need Help For Setting Up Main Domain AND DNS
« Reply #1 on: July 29, 2015, 08:52:47 PM »
A name record to the DNS IP is missing. Adding that will resolve the issue