Changeset 190 for trunk/klask


Ignore:
Timestamp:
Nov 11, 2016, 2:00:32 PM (7 years ago)
Author:
g7moreau
Message:
  • Add doc for repair-dns
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r189 r190  
    761761 klask exportdb --format [txt|html]
    762762 klask removedb computer*
    763  klask cleandb  --day number_of_day --verbose
     763 klask cleandb  --day number_of_day --repair-dns --verbose
    764764
    765765 klask updatesw
     
    11251125      'day|d=i'   => \$days_to_clean,
    11261126      'verbose|v' => \$verbose,
    1127       'repairdns|r' => \$repairdns,
     1127      'repair-dns|r' => \$repairdns,
    11281128      );
    11291129
     
    24312431 klask exportdb --format [txt|html]
    24322432 klask removedb computer*
    2433  klask cleandb  --day number_of_day --verbose
     2433 klask cleandb  --day number_of_day --repair-dns --verbose
    24342434
    24352435 klask updatesw
     
    24882488This command print the content of the database. There is actually only one format. It's very easy to have more format, it's just need times...
    24892489
     2490=head2 removedb
     2491
     2492This command remove an entry in the database.
     2493There is only one kind of parameter, the IP of the computers to be removed.
     2494You can put as many IP as you want...
     2495
     2496DNS computer name could also a valid entry because a DNS resolver is done at the beginning.
     2497
     2498=head2 cleandb
     2499
     2500Remove double entry (same MAC-Address) when the older one is older than X day (--day) the new one.
     2501Computer name beginning by 'float' are not really taken into account but could be remove.
     2502
     2503When reverse DNS has not be done, option --repair-dns force reverse DNS check on unkown host.
    24902504
    24912505=head2 updatesw
Note: See TracChangeset for help on using the changeset viewer.