Changeset 437


Ignore:
Timestamp:
Jul 20, 2010, 11:29:32 AM (11 years ago)
Author:
Kris Deugau
Message:

/trunk

More tidyups:

  • Add $IPDB::hostmaster for rWHOIS
  • Fix typo in MyIPDB.pm for orgname -> org_name
  • Use $IPDB::domain and $IPDB::hostmaster in db2rwhois.pl creating the SOA file
Location:
trunk/cgi-bin
Files:
3 edited

Legend:

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

    r434 r437  
    6868our $org_techhandle = 'ISP-ARIN-HANDLE';
    6969our $org_email = 'noc@example.com';
     70our $hostmaster = 'dns@example.com';
    7071
    7172our $syslog_facility = 'local2';
  • trunk/cgi-bin/MyIPDB.pm

    r434 r437  
    2525# Set some globals declared in IPDB.pm.  Most of these only affect mailNotify().
    2626# Note that while you *can* leave these at defaults, it's probably a Really Bad Idea.
    27 #$IPDB::orgname = "Bob's Big Bonaza";
     27#$IPDB::org_name = "Bob's Big Bonaza";
    2828#$IPDB::smtphost = '127.0.0.1';
    2929#$IPDB::domain = 'bob.com';
     
    4040#$IPDB::org_techhandle = 'ISP-ARIN-HANDLE';
    4141#$IPDB::org_email = 'noc@example.com';
     42#$IPDB::hostmaster = 'dns@example.com';
    4243
    4344# Logging destination.  Defaults to local2.  See your local syslog docs for valid facilities.
  • trunk/cgi-bin/extras/db2rwhois.pl

    r434 r437  
    123123Retry-Interval: 1800
    124124Time-To-Live: 86400
    125 Primary-Server: rwhois.example.com:4321
    126 Hostmaster: dns\@example.com
     125Primary-Server: rwhois.$IPDB::domain:4321
     126Hostmaster: $IPDB::hostmaster
    127127);
    128128    close SOAFILE;
Note: See TracChangeset for help on using the changeset viewer.