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

0 Members and 1 Guest are viewing this topic.

Offline
*
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?

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


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