added support for mx hostname