Changeset 656
- Timestamp:
- 09/09/14 15:19:07 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r655 r656 638 638 my $tmpz = _ZONE($revzone, 'ZONE', 'r', '.'); 639 639 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 640 641 } 641 642 } … … 957 958 958 959 # 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'; 960 961 961 962 # Key additional record parts. Always required. … … 5839 5840 $tmp = sprintf "%0.4x", $tmp if $srctype eq 'd'; # 0-pad decimal to 4 hex digits 5840 5841 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]); 5842 5843 } 5843 5844
Note:
See TracChangeset
for help on using the changeset viewer.