node-dns
node-dns copied to clipboard
:globe_with_meridians: DNS Server and Client Implementation in Pure JavaScript with no dependencies.
Hi song940, was searching around for a node based DNS server, and found this. What I really want is some simple Node code which would respond with records for DNS01...
Any idea if it would be possible to implement DNSSEC? A.K.A DNSKEY and RRSIG
There is a rather annoying error in the types. and is that although they are declared these are not exported so every time they try to use in a modular...
When running the following code I'm having an issue where the responses don't match the `dig` command. ```js (async () => { const DNS = require('dns2'); const dns = new...
my code: ``` const dns2 = require('dns2'); const chalk = require('chalk'); const { Packet } = dns2; var port = process.env['SERVER_PORT']; if (!port) { console.log(chalk.yellow(`\t'SERVER_PORT' env variable not found, using...
EDNS Client Subnet support does not work because the call to `resolve` in `query` is malformed. **`query`** https://github.com/song940/node-dns/blob/b2fdf66a1987e2597ad1b1f0948d0ac5c4acbfe2/index.js#L46 **`resolve`** https://github.com/song940/node-dns/blob/b2fdf66a1987e2597ad1b1f0948d0ac5c4acbfe2/client/udp.js#L9 The fixed call should be: ```js return resolve(name, type, cls,...
Hey @song940 first, great project! Can you perhaps give all sockets the proxy protocol header? I would like to give the real client IP from the proxy. That the DNS...
When under high load, the server pauses for a couple of seconds now and again. I've tried to work out what could have caused this. But at my wits end...
How can I get SOA records of a domain. Sometimes its not showing.
What is the max RPS that the server can handle? (Requests Per Second)