Skip Menu |

This queue is for tickets about the DNS-ZoneParse CPAN distribution.

Report information
The Basics
Id: 74370
Status: open
Priority: 0/
Queue: DNS-ZoneParse

People
Owner: Nobody in particular
Requestors: support1 [...] thetabiz.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.10
Fixed in: (no value)



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;
I am not sure I understand the problem. The $ORIGIN directive accepts only a single parameter and it should default to "$ORIGIN .", meaning that you can simply delete the $ORIGIN line completely. Are you generating this file based on other data? Is it possible for me to get more information on how you are generating this file? Can I see your perl script? If you would like you can contact me directly at perl@8192.net if you don't want to share any more information in this bug.
I replied to the email you sent to my personal account but I haven't received a reply from you. Can you confirm you received my reply, and it wasn't lost in a spam filter?
From: support1 [...] thetabiz.com
DNS::ZoneParse is not working out of the box, as Bind is going to report errors, I have made this change, which might not be proper, however, it does work for me: ZONEHEADER1 if ( $dns_soa{$self}->{'ORIGIN'} ne $dns_soa{$self}->{'origin'} ) { #$output .= "\n\$ORIGIN $dns_soa{$self}->{'ORIGIN'}\n\n"; $output .= "\n\$ORIGIN $dns_id{$self}->{'Origin'}\n\n"; }