Alternatively, you can also reference the result attributes directly, this will result in an implicit wait for the query to complete. Wait for the query to complete. The error code returned by the query. The canonical name of the host that was queried. At most four integer IP addresses for this host.
Unused entries are zero.
Valid only for address queries. The name of a mail-exchanger host. The preference of this mx record. Not too useful, since the Macintosh will only return a single mx record.