zone not loaded in one of view

liudonghua at ynu.edu.cn liudonghua at ynu.edu.cn
Sun Dec 17 04:22:46 UTC 2023


Hi, I have a bind9 authoritative name server running, but I found a strange problem. One of zone in a specific view not loaded when I view the cache_dump.db after I execute `rndc dumpdb -all`.


The zone data file is almost the same for difference views execpted some few domain resolution.


[root at pridns data]# head -n 20 /etc/named.data/db.ynu.edu.cn.cernet
$TTL 86400      ; 1 day
@       IN      SOA     pridns.ynu.edu.cn. root.pridns.ynu.edu.cn. (
                                2023121601    ;   serial number
                                10800   ;   Refresh interval, every 3 hours
                                3600    ;   Retry interval, every 30 minutes 
                                604800  ;   Expire after 1 week
                                86400 ) ;    Minimum TTL of 1 day


$INCLUDE /etc/named.data/db.ynu.edu.cn.common




; RR of type A
; 
vpn1                    10800   IN  A       113.55.110.251
; 
lb-http-jz                      IN  A       113.55.14.52
ynucdn                  600     IN  A       202.203.208.4
; 
vpn2                            IN  A       202.203.208.9


[root at pridns data]# head -n 20 /etc/named.data/db.ynu.edu.cn.intranet
$TTL 86400      ; 1 day
@       IN      SOA     pridns.ynu.edu.cn. root.pridns.ynu.edu.cn. (
                                2023121601    ;   serial number
                                10800   ;   Refresh interval, every 3 hours
                                3600    ;   Retry interval, every 30 minutes 
                                604800  ;   Expire after 1 week
                                86400 ) ;    Minimum TTL of 1 day


$INCLUDE /etc/named.data/db.ynu.edu.cn.common




; RR of type A
; 
lb-http-jz                      IN  A       113.55.14.52
; 
vpn1                    10800   IN  A       192.168.208.3
ynucdn                  600     IN  A       202.203.208.4
; 
vpn2                            IN  A       202.203.208.9


[root at pridns data]#
[root at pridns data]# named-checkconf /etc/named.conf
[root at pridns data]# echo $?
0
[root at pridns data]# 
[root at pridns data]# rndc zonestatus ynu.edu.cn in CERNET
name: ynu.edu.cn
type: primary
files: db.ynu.edu.cn.cernet, /etc/named.data/db.ynu.edu.cn.common
serial: 2023121601
nodes: 576
last loaded: Sat, 16 Dec 2023 08:00:49 GMT
secure: no
dynamic: no
reconfigurable via modzone: no
[root at pridns data]#
[root at pridns data]# rndc zonestatus ynu.edu.cn in INTRANET
rndc: 'zonestatus' failed: zone not loaded
[root at pridns data]#
[root at pridns data]# named-checkzone ynu.edu.cn /etc/named.data/db.ynu.edu.cn.intranet
zone ynu.edu.cn/IN: loaded serial 2023121601
OK
[root at pridns data]# 
[root at pridns data]# ll /etc/named.data/db.ynu.edu.cn.cernet /etc/named.data/db.ynu.edu.cn.intranet
-rw-r--r-- 1 root root 1.3K Dec 16 16:00 /etc/named.data/db.ynu.edu.cn.cernet
-rw-r--r-- 1 root root 1.3K Dec 16 16:00 /etc/named.data/db.ynu.edu.cn.intranet
[root at pridns data]# 


And here is parts of content in /var/named/data/cache_dump.db


; Zone dump of 'ynu.edu.cn/IN/INTRANET'
;
; zone not loaded
;
; Zone dump of 'rpz/IN/INTRANET'




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20231217/76b597bb/attachment.htm>


More information about the bind-users mailing list