有问题的区域文件:
$ORIGIN maximal.enterprises
$TTL 2h
@ SOA ns1 ( 2024090600 ; Serial
8h ; Refresh
30m ; Retry
1w ; Expire
1h ) ; Negative Cache TTL
NS ns1
sea1.router A 144.202.90.240
AAAA fe80::5400:5ff:fe15:5e61
ns1 A 144.202.90.240
AAAA fe80::5400:5ff:fe15:5e61
当我用 加载它时named-checkzone maximal.enterprises maximal.enterprises.zone
,出现以下错误:
dns_rdata_fromtext: /var/named/maximal.enterprises.zone:4: near '8h': not a valid number
zone maximal.enterprises/IN: loading from master file /var/named/maximal.enterprises.zone failed: not a valid number
zone maximal.enterprises/IN: not loaded due to errors.
我正在使用 BIND 9.20.1。