Ignore:
Timestamp:
01/04/13 17:19:57 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Begin adding DNS integration via RPC. See #1.
IPDB.pm

  • Add a global in IPDB.pm to identify the URL for RPC DNS changes. A blank URL means this capability is disabled. (also MyIPDB.pm)
  • Accept extra parameters in addMaster() for DNS changes (default rDNS pattern, DNS location/scope/view) and while we're at it, add space to handle VRF as an informational field
  • Drop maskbits from INSERTs in addMaster()
  • Make the RPC call to add a reverse zone when adding a new master block. To assist with export caching, we split the zone into /16 or /24 chunks and add each one separately.

main.cgi

  • Retrieve DNS locations for adding a master block
  • Pass the HTTP user in to addMaster() for logging in the DNS backend

Modify templates for add master
Remove long-obsolete function in widgets.js, add function for:
Add rDNS pattern reference page

Note the RPC calls require at least dnsadmin:trunk@r447 to work properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/newmaster.tmpl

    r517 r582  
    66<TMPL_ELSE>
    77<div class="heading">Success!</div>
     8<TMPL_IF warn>
     9<div class="warning"><TMPL_VAR NAME=warn></div>
     10</TMPL_IF>
    811</TMPL_IF>
    912</div>
Note: See TracChangeset for help on using the changeset viewer.