mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
TTL and generator records don't have a value https://forum.virtualmin.com/t/migration-to-new-server/129151/2
This commit is contained in:
@ -38,6 +38,7 @@ foreach my $zi (@zones) {
|
||||
my @recs = &read_zone_file($zi->{'file'}, $zi->{'name'});
|
||||
my $realfile = &make_chroot(&absolute_path($zi->{'file'}));
|
||||
foreach my $r (reverse(@recs)) {
|
||||
next if ($r->{'defttl'} || $r->{'generate'});
|
||||
my $shortname = $r->{'name'};
|
||||
$shortname =~ s/\.$zi->{'name'}\.$//;
|
||||
my $v = join(" ", @{$r->{'values'}});
|
||||
|
Reference in New Issue
Block a user