18 lines
333 B
JavaScript
18 lines
333 B
JavaScript
|
(function (exports) {
|
||
|
'use strict';
|
||
|
|
||
|
exports.DNS_TYPES = {
|
||
|
A: 0x01 // 1
|
||
|
, NS: 0x02 // 2
|
||
|
, CNAME: 0x05 // 5
|
||
|
, SOA: 0x06 // 6
|
||
|
, PTR: 0x0c // 12
|
||
|
, MX: 0x0f // 15
|
||
|
, TXT: 0x10 // 16
|
||
|
, AAAA: 0x16 // 28
|
||
|
, SRV: 0x21 // 33
|
||
|
, ANY: 0xff // 255
|
||
|
};
|
||
|
|
||
|
}('undefined' !== typeof window ? window : exports));
|