- Timestamp:
- 02/15/17 14:15:32 (8 years ago)
- Location:
- trunk/cgi-bin
- Files:
-
- 2 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 -
trunk/cgi-bin/MyIPDB.pm
r893 r902 97 97 #$IPDB::billinglink = 'https://billing.example.com/radius.pl'; 98 98 99 ## Append default domain to unqualified DNS names? (ie, names without dots) 100 # Disabling this can result in DNS names that get "lost", due to downconversion from A+PTR to PTR. 101 #$IPDB::append_domain = 1; 102 99 103 ## connectDB_My() 100 104 # Wrapper for IPDB::connectDB
Note:
See TracChangeset
for help on using the changeset viewer.