index.js
function createMXRecord (domain, subdomain, priority, ip, cb) {
        var body = {
            name: subdomain,
            type: 'MX',
            content: [priority, ip].join(' ')
        };
        _hoverRequest('POST', '/domains/' + domain + '/dns', body, cb);
    }
function createMXRecord (domain, subdomain, priority, ip, cb) {
        var body = {
            name: subdomain,
            type: 'MX',
            content: [priority, ip].join(' ')
        };
        _hoverRequest('POST', '/domains/' + domain + '/dns', body, cb);
    }
function createMXRecord ( domain , subdomain , priority , ip , cb ) { var body = { name : subdomain , type : 'MX' , content : [ priority , ip ] . join ( ' ' ) } ; _hoverRequest ( 'POST' , '/domains/' + domain + '/dns' , body , cb ) ; }
Create a new MX record under the specified domain

@param {String} domain Domain identifier
@param {String} subdomain Subdomain of record
@param {String} priority Priority of record
@param {String} ip IP Address of record
@param {Function} cb
@api public
Create a new MX record under the specified domain