Bind

BIND/命名:區域 sigilhosting.com/IN:由於錯誤未載入

  • October 13, 2020

它一直執行良好,直到我的 cPanel 許可證過期,我不得不更新它。

執行命名檢查區域時,我不斷收到此錯誤:

zone sigilhosting.com/IN: NS 'ns1.sigilhosting.com' has no address records (A or AAAA)
zone sigilhosting.com/IN: NS 'ns2.sigilhosting.com' has no address records (A or AAAA)
zone sigilhosting.com/IN: not loaded due to errors.

/var/named/sigilhosting.com.db

$TTL 14400
sigilhosting.com.       86400   IN      SOA     ns1.sigilhosting.com.   konstantinkeller5.gmail.com.    (
                                           2013122210 ;Serial Number
                                           86400 ;refresh
                                           7200 ;retry
                                           3600000 ;expire
                                           86400 ;minimum
   )
sigilhosting.com.       86400   IN      NS      ns1.sigilhosting.com.
sigilhosting.com.       86400   IN      NS      ns2.sigilhosting.com.
sigilhosting.com.       14400   IN      A       64.186.15.206
localhost       14400   IN      A       127.0.0.1
sigilhosting.com.       14400   IN      MX      0       sigilhosting.com.
mail    14400   IN      CNAME   sigilhosting.com.
www     14400   IN      CNAME   sigilhosting.com.
ftp     14400   IN      CNAME   sigilhosting.com.
cpanel  14400   IN      A       64.186.15.206
whm     14400   IN      A       64.186.15.206
204     14400   IN      PTR     sigilhosting.com.
webmail 14400 IN A  64.186.15.206
www.webmail 14400 IN A  64.186.15.206
webdisk.webmail IN A 64.186.15.206

/var/named/ns1.sigilhosting.com.db

$TTL 14400
@      86400    IN      SOA     ns1.sigilhosting.com. konstantinkeller5.gmail.com. (
           2013121701      ; serial, todays date+todays
           86400           ; refresh, seconds
           7200            ; retry, seconds
           3600000         ; expire, seconds
           86400 )         ; minimum, seconds

ns1.sigilhosting.com. 86400 IN NS ns1.sigilhosting.com.
ns1.sigilhosting.com. 86400 IN NS ns2.sigilhosting.com.
ns1.sigilhosting.com. IN A 64.186.15.204

localhost.ns1.sigilhosting.com. IN A 127.0.0.1

ns1.sigilhosting.com. IN MX 0 ns1.sigilhosting.com.

mail IN CNAME ns1.sigilhosting.com.
www IN CNAME ns1.sigilhosting.com.
ftp IN CNAME ns1.sigilhosting.com.

/var/named/ns2.sigilhosting.com.db

$TTL 14400
@      86400    IN      SOA     ns1.sigilhosting.com. konstantinkeller5.gmail.com. (
           2013121701      ; serial, todays date+todays
           86400           ; refresh, seconds
           7200            ; retry, seconds
           3600000         ; expire, seconds
           86400 )         ; minimum, seconds

ns2.sigilhosting.com. 86400 IN NS ns1.sigilhosting.com.
ns2.sigilhosting.com. 86400 IN NS ns2.sigilhosting.com.
ns2.sigilhosting.com. IN A 64.186.15.205

localhost.ns2.sigilhosting.com. IN A 127.0.0.1

ns2.sigilhosting.com. IN MX 0 ns2.sigilhosting.com.

mail IN CNAME ns2.sigilhosting.com.
www IN CNAME ns2.sigilhosting.com.
ftp IN CNAME ns2.sigilhosting.com.

似乎域 sigilhosting.com 的 ns1 和 ns2 缺少 A 記錄。

我會將這些記錄添加到/var/named/sigilhosting.com.db

ns1.sigilhosting.com.            IN A    64.186.15.204
ns2.sigilhosting.com.            IN A    64.186.15.205

引用自:https://serverfault.com/questions/570284