Author Topic: Slave DNS screwed up zones.  (Read 2280 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Slave DNS screwed up zones.
« on: January 19, 2022, 01:09:33 PM »
See the difference in the zone entries, first one is from the CWP7pro & second from the slave DNS.

Code: [Select]
; Generated by CWP
; Zone file for domain.com
$TTL 7200
@    3600           IN      SOA     ns1.nameserver.com. postmaster.domain.com. (
2022011501 ; serial, todays date+todays
1200            ; refresh, seconds
7200            ; retry, seconds
1209600         ; expire, seconds
3600 )          ; minimum, seconds
@ 3600 IN NS ns1.nameserver.com.
@ 3600 IN NS ns2.nameserver.com.
@ IN A 111.222.333.444
localhost.domain.com. IN A 127.0.0.1
@ IN MX 0 mail.domain.com.
mail 7200 IN A 111.222.333.444
webmail 7200 IN A 111.222.333.444
cpanel 7200 IN A 111.222.333.444
cwp 7200 IN A 111.222.333.444
www 7200 IN CNAME domain.com.
ftp 7200 IN CNAME domain.com.
_dmarc 7200 IN TXT "v=DMARC1; p=none"
@ 7200 IN TXT "v=spf1 +a +mx +ip4:111.222.333.444 ~all"
default._domainkey 14400 IN TXT "v=DKIM1; k=rsa; long//longl/ongdomain/key"
mysubdomain     14400   IN      A       111.222.333.555  ; #subdomain mysubdomain
www.mysubdomain     14400   IN      A       111.222.333.555  ; #subdomain mysubdomain
@ 7200 IN TXT "google-site-verification=long_code"
@    CAA 0   issuewild    "letsencrypt.org"
@    CAA 0   issue    "letsencrypt.org"

Code: [Select]
$ORIGIN .
$TTL 3600 ; 1 hour
domain.com IN SOA ns1.nameserver.com. postmaster.domain.com. (
2022011501 ; serial
1200       ; refresh (20 minutes)
7200       ; retry (2 hours)
1209600    ; expire (2 weeks)
3600       ; minimum (1 hour)
)
NS ns1.nameserver.com.
NS ns2.nameserver.com.
$TTL 7200 ; 2 hours
A 111.222.333.444
MX 0 mail.domain.com.
TXT "v=spf1 +a +mx +ip4:111.222.333.444 ~all"
$ORIGIN domain.com.
_dmarc TXT "v=DMARC1; p=none"
$TTL 14400 ; 4 hours
default._domainkey TXT "v=DKIM1; k=rsa; long//longl/ongdomain/key"
$TTL 7200 ; 2 hours
cpanel A 111.222.333.444
cwp A 111.222.333.444
ftp CNAME domain.com.
$TTL 14400 ; 4 hours
mysubdomain A 111.222.333.444
$ORIGIN mysubdomain.domain.com.
www A 111.222.333.444
$ORIGIN domain.com.
$TTL 7200 ; 2 hours
localhost A 127.0.0.1
mail A 111.222.333.444
webmail A 111.222.333.444
www CNAME domain.com.

Here's a catch, zones that were pushed before 15th Jan 2022 are fine.