Changeset 754
- Timestamp:
- 06/01/17 17:45:48 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r753 r754 1391 1391 # or the intended parent domain for live records. 1392 1392 my $pname = ($args{defrec} eq 'y' ? 'DOMAIN' : $self->domainName($args{id})); 1393 ${$args{host}} =~ s/\.*$/\.$pname/ if (${$args{host}} ne '@' && ${$args{host}} !~ /$pname$/i); 1394 1395 # don't do the cache thing on defaultrecords1396 return ('OK','OK') if $defrec ne'n';1393 ${$args{host}} =~ s/\.*$/\.$pname/ if (${$args{host}} ne '@' && ${$args{host}} !~ /$pname$/i); 1394 1395 # Only do the cache thing on live/active records 1396 return ('OK','OK') unless $args{defrec} eq 'n'; 1397 1397 1398 1398 # now we check/update the cached target address info
Note:
See TracChangeset
for help on using the changeset viewer.