Doxing might be unethical. But itâ€s not always illegal. Itâ€s not illegal to publish information that is in the public record, including someoneâ€s arrest records, marriage certificates and record of driving violations.