0.2.0 • Published 8 years ago

mdns-js-packet v0.2.0

Weekly downloads
372
License
MIT
Repository
github
Last release
8 years ago

mdns-js-packet

Build Status

DNS packet parser specifically built for mdns-js mdns-js but it should be generic enough to do general dns stuff.

You probably want to have a look at native-dns-packet first and if that does do what you need, you might start looking at this.

mdns-js-packet should produce the same output as native-dns-packet, it even uses it's test fixtures and borrows some parts of it.

This was made before i knew about native-dns-packet but since that still has some bugs in handling some mDNS packets I cant use it.

example

var dns = require('mnds-js-packet');

/*some code that will get you a dns message buffer*/

var result = dns.DNSPacket.parse(message);

console.log(result);

Look at examples/dnsresolver.js for a more detailed example.

Contribute

I will gladly accept any contributions as pull requests. Just run npm run lint on the code first so that the coding style is kept somewhat consistent. I miss doing this myself from time to time and I won't go ballistic if anyone else forget but I would really appreciate it.

0.2.0

8 years ago

0.1.12

9 years ago

0.1.11

9 years ago

0.1.10

9 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago