Changeset 633
- Timestamp:
- 05/14/14 17:32:58 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r632 r633 4039 4039 # skip all reverse zone .arpa "hostnames" since they're already .arpa names. 4040 4040 ##enhance: extend {showrev_arpa} eq 'record' to specify record types 4041 my $tmpip = new NetAddr::IP $rec->{val} ;4041 my $tmpip = new NetAddr::IP $rec->{val} if $rec->{val} =~ /^(?:[\d.\/]+|[a-fA-F0-9:\/]+)$/; 4042 4042 $rec->{val} = DNSDB::_ZONE($tmpip, 'ZONE', 'r', '.').($tmpip->{isv6} ? '.ip6.arpa' : '.in-addr.arpa') if $tmpip; 4043 4043 }
Note:
See TracChangeset
for help on using the changeset viewer.