add exchange
This commit is contained in:
parent
f67788f9db
commit
5839451f20
|
@ -34,6 +34,9 @@ file.trim().split(/\n/).forEach(function (line) {
|
||||||
if (/^(TXT)$/.test(type)) {
|
if (/^(TXT)$/.test(type)) {
|
||||||
data = [ thing ];
|
data = [ thing ];
|
||||||
}
|
}
|
||||||
|
if (/^(MX)$/.test(type)) {
|
||||||
|
exchange = thing;
|
||||||
|
}
|
||||||
if (/^(MX|SRV)$/.test(type)) {
|
if (/^(MX|SRV)$/.test(type)) {
|
||||||
priority = json.priority || 10;
|
priority = json.priority || 10;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue