# `mx_target_is_mail_client_host`

> An MX record names the host for mail programs, which takes no mail from other servers - suggested_target does.

- Warning - never blocks the call.
- Page: /errors/mx_target_is_mail_client_host/

## Params

- `line` (integer) - The line of the text sent; 0: not tied to a line.
- `owner` (string | null) - The name of the record, absolute.
- `rr_type` (string | null) - The record type.
- `code` (string) - invalid_record_kept: the error found in the record.
- `value` (string | integer) - The value found.
- `min` (integer)
- `max` (integer)
- `target` (string) - The target named.
- `address` (string) - The address named.
- `record` (string) - The record, as written.
- `type` (string) - The record type named.
- `suggested_target` (string) - What to name instead.

## Declared by

The operations that may answer it.

- [Add DNS record](/reference/domain/dns/zone/record/add.md)
- [Set DNS records of a name](/reference/domain/dns/zone/record/set.md)
- [Change DNS zone of a domain](/reference/domain/dns/zone/set.md)
