Ignore:
Timestamp:
01/15/15 17:52:26 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Extend per-IP rDNS through the "confirm add" page and the "edit" page. See #1.

  • Add flag in getBlockRDNS return to indicate if the results are from local caching instead of RPC results. There isn't really a clear way to globally flag "RPC server is up".
  • Add a sub to retrieve per-IP reverse DNS information for a passed CIDR range. Not limited in IPDB.pm, but dnsadmin will refuse to return anything for a block larger than /24 (v4) or /120 (v6) - an 8 bit inverse mask.
  • Use the new sub on editing a small(ish) non-pool block. CSS magic notwithstanding, handling more than 32 IPs in a list like this is awkward.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/assign.tmpl

    r672 r675  
    7373<tr class="<TMPL_VAR NAME=rowa>">
    7474<td>Reverse DNS pattern:</td>
    75 <td><input type="text" name="rdns" value="<TMPL_VAR NAME=rdns>" size="40"><input type="button" value=" ? " onclick="helpRDNS()" class="regular"></td>
     75<td>
     76<input type="text" name="rdns" value="<TMPL_VAR NAME=rdns>" size="40">
     77<input type="button" value=" ? " onclick="helpRDNS()" class="regular">
     78<TMPL_IF cached>(cached)</TMPL_IF>
     79</td>
    7680</tr>
    7781
Note: See TracChangeset for help on using the changeset viewer.