Changeset 656


Ignore:
Timestamp:
09/09/14 15:19:07 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Add a comment for a possible enhancement ("CNAME Flattening")
Comment the failure on validating a SRV in a reverse zone; who knows what

stupid might lurk in some legacy DNS template?

Remove a spare semicolon at the end of a line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r655 r656  
    638638        my $tmpz = _ZONE($revzone, 'ZONE', 'r', '.');
    639639        return ('FAIL', "The bare zone may not be a CNAME") if $tmphn eq $tmpz;
     640##enhance: look up the target name and publish that instead on export
    640641      }
    641642    }
     
    957958
    958959# Not absolutely true but WTF use is an SRV record for a reverse zone?
    959   return ('FAIL', 'Reverse zones cannot contain SRV records') if $args{revrec} eq 'y';
     960#  return ('FAIL', 'Reverse zones cannot contain SRV records') if $args{revrec} eq 'y';
    960961
    961962  # Key additional record parts.  Always required.
     
    58395840    $tmp = sprintf "%0.4x", $tmp if $srctype eq 'd';    # 0-pad decimal to 4 hex digits
    58405841    my @o = ($tmp =~ /^(..)(..)$/);     # split into octets
    5841     return sprintf "\\%0.3o\\%0.3o", hex($o[0]), hex($o[1]);;
     5842    return sprintf "\\%0.3o\\%0.3o", hex($o[0]), hex($o[1]);
    58425843  }
    58435844
Note: See TracChangeset for help on using the changeset viewer.