Is that problem of Nameserver

Started by mayank_pasi, February 05, 2017, 12:59:27 PM

Previous topic - Next topic

mayank_pasi

Is that problem of Nameserver

my hostname AAVAHN.AAVAHN.com

and my NS1: ns1.aavahn.com
            NS2: ns2.aavahn.com

hostname or NS1 is not same
that way my nemeserver is not working

plz helppp some body

mayank_pasi



that my problem any body help me 

Checking DNS Zone Record for Domain: aavahn.com   
Checking Zone File: /var/named/aavahn.com.db

zone aavahn.com/IN: NS 'ns1.aavahn.com' has no address records (A or AAAA)
zone aavahn.com/IN: NS 'ns2.aavahn.com' has no address records (A or AAAA)
zone aavahn.com/IN: not loaded due to errors.

mayank_pasi


locvfx

Login your domain control panel, add two A records ns1 , ns2  point to your server's IP

renix

Thinking in the future, you can add a custom zone template adding A registers for NS1 and NS1 as follows:


; Generated by CWP
; Zone file for DOMAIN_REPLACE
$TTL 14400
DOMAIN_REPLACE.      86400        IN      SOA     NS1_REPLACE. DNS_EMAIL. (
            2013071600      ; serial, todays date+todays
            86400           ; refresh, seconds
            7200            ; retry, seconds
            3600000         ; expire, seconds
            86400 )         ; minimum, seconds

DOMAIN_REPLACE. 86400 IN NS NS1_REPLACE.
DOMAIN_REPLACE. 86400 IN NS NS2_REPLACE.

NS1.DOMAIN_REPLACE IN A IP_REPLACE
NS2.DOMAIN_REPLACE IN A IP_REPLACE

DOMAIN_REPLACE. IN A IP_REPLACE

localhost.DOMAIN_REPLACE. IN A 127.0.0.1

DOMAIN_REPLACE. IN MX 0 DOMAIN_REPLACE.

mail IN CNAME DOMAIN_REPLACE.
www IN CNAME DOMAIN_REPLACE.
ftp IN CNAME DOMAIN_REPLACE.
; Add additional settings below this line


--

Bests

Renix