Method Protocols.DNS.client()->get_primary_mx() class Protocols.DNS.client Method get_primary_mx string get_primary_mx(string hostname) Description Queries the primary mx for the host. Returns Returns the hostname of the primary mail exchanger.