Subject: | BIND9 accepts only $ORIGIN with . dot |
I have been using this module for years, so long, that I have forgotten
using it. And I have been managing 600+ domains with this one.
Who knows why, but before few days, all records started showing SERVFAIL
with Bind9 and after research I found out that I only had to put an
extra dot after $ORIGIN in the zone header:
;
; Database file thetabiz.com.hosts for thetabiz.com. zone.
; Zone version: 2012012516
;
$ORIGIN . <--------- this dot
$TTL 604800
I have no expert knowledge, so I made a change in the module on my
computer, and I have put . dot between $ORIGIN below and $dns_soa($self)
and it works now for me.
I would like that expert corrects this and that the original module
works for Bind9 without my correction without true knowledge.
Louis
ZONEHEADER1
if ( $dns_soa{$self}->{'ORIGIN'} ne $dns_soa{$self}->{'origin'} ) {
$output .= "\n\$ORIGIN . $dns_soa{$self}->{'ORIGIN'}\n\n";
}
$output .= <<ZONEHEADER2;