Ignore:
Timestamp:
10/07/15 18:12:25 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

  • Revert most examples in MyIPDB.pm to defaults.
  • Add new flag to retrieve/show unique/custom per-IP rDNS on IP pools rather than having to either visit each IP individually or use the primary DNS management UI
  • Add final safety valve in the UI to limit per-IP rDNS lists to 1K (10 bits). Even a /26 is a bit slow; a /24 takes over a second even on lightly-loaded hardware over local loopback.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/MyIPDB.pm

    r776 r780  
    3838# Set some globals declared in IPDB.pm.  Most of these only affect mailNotify().
    3939# Note that while you *can* leave these at defaults, it's probably a Really Bad Idea.
    40 #$IPDB::org_name = "Bob's Big Bonaza";
    41 #$IPDB::smtphost = '127.0.0.1';
    42 #$IPDB::domain = 'bob.com';
     40#$IPDB::org_name = 'Example Corp';
     41#$IPDB::smtphost = 'smtp.example.com';
     42#$IPDB::domain = 'example.com';
    4343#$IPDB::defcustid = '5554242';
    44 #$IPDB::smtpsender = "ipdb\@$domain";
     44#$IPDB::smtpsender = 'ipdb@example.com';
    4545# Globals for db2rwhois.pl
    4646#$IPDB::rwhoisDataPath = '/usr/local/rwhoisd/etc/rwhoisd';
     
    5959# Note that the value here should have the LOG_ prefix removed, and convert to lower-case.
    6060# local0 through local7 and user make the most sense.
    61 #$IPDB::syslog_facility = 'daemon';
     61#$IPDB::syslog_facility = 'local2';
    6262
    6363# RPC URL for pushing DNS changes out.  Blank by default;  disables RPC calls for DNS changes when blank.
     
    6767# (eg, NetAddr::IP->bits - NetAddr::IP->masklen)
    6868# allowing longer than a /27 is probably going to slow things down;  longer than /29 will scroll.
    69 #$IPDB::maxrevlist = 8;  # v4 /24
     69#$IPDB::maxrevlist = 5;
     70
     71# Show per-IP rDNS list even on pools?
     72#$IPDB::revlistalltypes = 0;
    7073
    7174## UI layout for showing subblocks
Note: See TracChangeset for help on using the changeset viewer.