32 lines
667 B
JavaScript
32 lines
667 B
JavaScript
(function (exports) {
|
|
'use strict';
|
|
|
|
// Value: IP Address
|
|
// Meaning:Use: 16 octets represting the IP address
|
|
|
|
|
|
|
|
exports.DNS_TYPE_AAAA = function (rdata) {
|
|
console.log('*****************************************');
|
|
|
|
// // var rrTokens = rdata.trim().split(/\s+/g);
|
|
// // var len = rrTokens.length;
|
|
// // var result = {
|
|
// // name: rrTokens[0],
|
|
// // ip: rrTokens[len-1]
|
|
// // };
|
|
|
|
|
|
// // if(!isNaN(rrTokens[1])) result.ttl = parseInt(rrTokens[1], 10);
|
|
// // return result;
|
|
// console.log(rdata.length.toString());
|
|
|
|
// var ui8 = new Uint8Array(rdata);
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
}('undefined' !== typeof window ? window : exports));
|