DNS server, which rejects all requests.

README.md 461B

nodnsd

nodnsd - DNS server, which rejects all requests.

The musl library has the misfeature (IMHO), that the resolver does DNS requests to localhost, if no nameservers are defined. As localhost normally doesn’t answer DNS requests, the use of unknown hosts leads to a delay until an error is returned.

By starting this server all DNS requests are immediately rejected and a delay is avoided.

This program is put into the public domain, use it as you like.