diff --git a/dns.type.mx.js b/dns.type.mx.js index a508b4d..ffa8077 100644 --- a/dns.type.mx.js +++ b/dns.type.mx.js @@ -1,8 +1,6 @@ (function (exports) { 'use strict'; -// TODO. Not yet implemented - // Value: Preference // Meaning/Use: Unsigned 16-bit integer //------------------------------------- diff --git a/dns.type.ptr.js b/dns.type.ptr.js index 87190b7..a389929 100644 --- a/dns.type.ptr.js +++ b/dns.type.ptr.js @@ -12,7 +12,7 @@ var unpackLabels = exports.DNS_UNPACK_LABELS || require('./dns.unpack-labels.js').DNS_UNPACK_LABELS; exports.DNS_TYPE_PTR = function (ab, pack, record) { - - return unpackLabels(new Uint8Array(ab), record.rdstart, { byteLength: 0, cpcount: 0, labels: [], name: '' }).name; + + return unpackLabels(new Uint8Array(ab), record.rdstart, { byteLength: 0, cpcount: 0, labels: [], name: '' }).name; }; }('undefined' !== typeof window ? window : exports)); diff --git a/dns.type.soa.js b/dns.type.soa.js index 0f5dcc4..8d77fc0 100644 --- a/dns.type.soa.js +++ b/dns.type.soa.js @@ -3,8 +3,15 @@ -exports.DNS_TYPE_A = function (rdata) { - var ui8 = new Uint8Array(rdata); +exports.DNS_TYPE_SOA = function (ab, packet, record) { + + var s = { + + + }; + + + };