Filtering safe domain results by hosts.

Bugs closed: AURORA-295

Reviewed at https://reviews.apache.org/r/19756/