{"name":"native-dns-packet","version":"0.0.1","author":{"name":"Timothy J Fontaine","email":"tjfontaine@gmail.com","url":"http://atxconsulting.com"},"description":"Raw DNS Packet Parsing and Writing","keywords":["dns","parsing"],"homepage":"http://github.com/tjfontaine/native-dns-packet","bugs":{"url":"http://github.com/tjfontaine/native-dns-packet/issues"},"repository":{"type":"git","url":"http://github.com/tjfontaine/native-dns-packet.git"},"main":"index.js","engines":{"node":">= 0.5.0"},"scripts":{},"dependencies":{"buffercursor":">= 0.0.5","ipaddr.js":">= 0.1.1"},"devDependencies":{},"_id":"native-dns-packet@0.0.1","dist":{"shasum":"78a3d2c7961bedb6714d155488a933005af4105e","tarball":"http://registry-npm.ywwl.com/native-dns-packet/download/native-dns-packet-0.0.1.tgz","integrity":"sha512-sauXyZ1m/aMhh5L7ogo7qBU6+z9OPjrJ0DyFMrDvpltZLKZYmJH/YyD+llXxpNM0M+RFzCD6GRzKFFCEv+rGWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICclfDQu8HfiRaMJFiYCjsP0yrcpX+dz3fK6apw94ByFAiEA5rhwPZsHXjQfDioRAHo6OJ9/iLAYsGCrTLO1LC5sgJw="}],"size":5848,"noattachment":false,"key":"/native-dns-packet/-/native-dns-packet-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"tjfontaine","email":"tjfontaine@gmail.com"},"maintainers":[{"name":"tjfontaine","email":"tjfontaine@gmail.com"}],"directories":{},"readme":"native-dns-packet\n-----------------\n\n * `Packet.parse(buffer)` returns an instance of `Packet`\n * `Packet.write(buffer, packet)` writes the given packet into the buffer,\ntruncating where appropriate\n\n```javascript\nvar Packet = function () {\n  this.header = {\n    id: 0,\n    qr: 0,\n    opcode: 0,\n    aa: 0,\n    tc: 0,\n    rd: 1,\n    ra: 0,\n    res1: 0,\n    res2: 0,\n    res3: 0,\n    rcode: 0\n  };\n  this.question = [];\n  this.answer = [];\n  this.authority = [];\n  this.additional = [];\n  this.edns_options = [];\n  this.payload = undefined;\n};\n```\n\n## History\n\n###### 0.1.1 - October 5, 2014\n\n- Fixing NPM tagging issue...\n\n###### 0.1.0 - October 2, 2014\n\n- Added TLSA support\n- Fixed EDNS & NAPTR support + deprecates some EDNS fields on Packet\n- Now includes support for forwarding EDNS responses (Packet.edns)\n- Added many TODOs with suggested improvements\n- Added many links to GH issues and RFCs\n- Cleaned up code a bit to better please linters\n- Added deprecation notices (see parseOpt)\n- Handle unhandled RRs on writing packet instead of throwing exception.\n- edns/opt should use BufferCursor.copy (Fixes #11)\n- Updated `package.json` to include all authors\n- Merged tj's `master` branch to add License info\n- Updated README to include history of changes\n","publish_time":1364093412557,"_cnpm_publish_time":1364093412557,"dist-tags":{"0.1.0":"0.1.0","latest":"0.1.1"}}