Document some things about dns_get_record() as used in the DNS filter.
Define 'rotate' property and write code to implement it. Also fix obscure race condition related to log rotations.

See documentation for new 'rotate' property which is separate from
'sendlogs' property. Bug fixed: If daemon was shut down during the
-notify- hour, then started in a later hour, logs would rotate every
time around the loop.