add exchange

This commit is contained in:
AJ ONeal 2017-11-02 11:56:57 -06:00
parent f67788f9db
commit 5839451f20
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ file.trim().split(/\n/).forEach(function (line) {
if (/^(TXT)$/.test(type)) {
data = [ thing ];
}
if (/^(MX)$/.test(type)) {
exchange = thing;
}
if (/^(MX|SRV)$/.test(type)) {
priority = json.priority || 10;
}