tjfontaine / node-dns

Replacement dns module in pure javascript for node.js
MIT License
585 stars 153 forks source link

Add dns.Response packet error examples to server test example #55

Open taoeffect opened 10 years ago

taoeffect commented 10 years ago

In addition to actually adding such examples to the code, I'd greatly appreciate it if someone (@tjfontaine, or anyone else), could demonstrate here in the comments how to properly response to clients with an error response (acting as a DNS server) if the lookup failed for whatever reason.

fmalekpour commented 3 years ago

That would be nice, anyone?