dns-suite.js/dns.classes.js

13 lines
253 B
JavaScript
Raw Normal View History

2017-01-21 19:43:42 +00:00
(function (exports) {
'use strict';
2017-01-21 20:35:06 +00:00
var classes = exports.DNS_CLASSES = {
2017-01-21 19:43:42 +00:00
IN: 0x01 // 1
};
2017-01-21 20:35:06 +00:00
// and in reverse
Object.keys(classes).forEach(function (key) {
classes[classes[key]] = key;
});
2017-01-21 19:43:42 +00:00
}('undefined' !== typeof window ? window : exports));