dns-suite.js/dns.classes.js

13 lines
259 B
JavaScript
Raw Normal View History

2018-03-19 16:31:44 +00:00
// (function (exports) {
2017-01-21 19:43:42 +00:00
'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
2018-03-19 16:31:44 +00:00
// }('undefined' !== typeof window ? window : exports));