Author Topic: How to Setup DNS (BIND) on server  (Read 191776 times)

0 Members and 1 Guest are viewing this topic.

Re: How to Setup DNS (BIND) on server
« Reply #30 on: June 10, 2020, 08:59:19 PM »
I wanted to know one thing. I have created two nameservers but I don't understand how and which IP addresses I have to associate.
can you give me directions?

Re: How to Setup DNS (BIND) on server
« Reply #31 on: July 09, 2020, 10:47:34 AM »
When i add a new domain, that responde to network ip, how can resolve that?

; Generated by CWP
; Zone file for
$TTL 14400
@    86400        IN     SOA (
                                2020070947 ; serial, todays date+todays
                                3600            ; refresh, seconds
                                7200            ; retry, seconds
                                1209600         ; expire, seconds
                                86400 )         ; minimum, seconds
@   86400   IN   NS    
@   86400   IN   NS    
@ IN MX 0
mail 14400 IN CNAME
smtp 14400 IN CNAME
pop  14400 IN CNAME
pop3 14400 IN CNAME
imap 14400 IN CNAME
webmail 14400 IN A
cpanel 14400 IN A
cwp 14400 IN A
www 14400 IN CNAME
ftp 14400 IN CNAME
_dmarc  14400   IN   TXT     "v=DMARC1; p=none"
@   14400   IN   TXT     "v=spf1 +a +mx +ip4: ~all"

Re: How to Setup DNS (BIND) on server
« Reply #32 on: August 10, 2020, 09:11:11 AM »
This Standard fix process was useful and fixed my problem also,when i Controlled Named.conf i found out that there where some incomplete records in this file out of standard format like :
Code: [Select]
zone "" {type master; file "/var/named/";};
// zone_end
and these kind of records made bind server fail to i deleted and corrected this records in file, Bind Server Started normally.
for experience and addressing the issue :
problem started when i changed Host name,and deleted former host name record in DNS Zone, Bind Sever started to fail.
Thanks for Sharing knowledge.