add OPCODES
This commit is contained in:
parent
b24345fe26
commit
0768e17bfa
|
@ -0,0 +1,13 @@
|
|||
(function (exports) {
|
||||
'use strict';
|
||||
|
||||
var opcodes = exports.DNS_OPCODES = {
|
||||
QUERY: 0x00 // 0
|
||||
};
|
||||
|
||||
// and in reverse
|
||||
Object.keys(opcodes).forEach(function (key) {
|
||||
opcodes[opcodes[key]] = key;
|
||||
});
|
||||
|
||||
}('undefined' !== typeof window ? window : exports));
|
Loading…
Reference in New Issue