logged resolve_hostname to db
added optional option
changed options wording
Expanding description
Land #2132, adding logging to hostname resolver

Also incidentally updated the description.