Fix Domain.get_record() when searching with multiple keywords

The dict comparison was stopping on the first successful comparison,
which is not enought when searching with multiple keywords
Use new dict comparison function on Connection.get_domain() too