Changeset 902 for trunk/cgi-bin/IPDB.pm
- Timestamp:
- 02/15/17 14:15:32 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r899 r902 139 139 # Billing system return link 140 140 our $billinglink = 'https://billing.example.com/radius.pl'; 141 142 # Append the default domain on unqualified DNS names? 143 our $append_domain = 1; 141 144 142 145 ## … … 1551 1554 $args{rdns} = '' if !$args{rdns}; 1552 1555 1556 # munge the reverse name to include the default domain if there are no dots. Don't append if 1557 # there's no DNS argument though, that would likely cause Big Problems 1558 $args{rdns} .= ".$IPDB::domain" if $IPDB::append_domain && $args{rdns} && $args{rdns} !~ /\./; 1559 1553 1560 $args{user} = $args{rpcuser} if !$args{user}; 1554 1561 … … 2099 2106 # Return early if rDNS flag(s) are not set 2100 2107 return ('OK','OK') unless ($pinfo->{revavail} || $pinfo->{revpartial}); 2108 2109 # munge the reverse name to include the default domain if there are no dots. Don't append if 2110 # there's no DNS argument though, that would likely cause Big Problems 2111 $args{rdns} .= ".$IPDB::domain" if $IPDB::append_domain && $args{rdns} && $args{rdns} !~ /\./; 2101 2112 2102 2113 # In case of any container (mainly master block), only update freeblocks so we don't stomp subs
Note:
See TracChangeset
for help on using the changeset viewer.