DNS server, which rejects all requests.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bernhard Ehlers 997b7cd0e9 Public Domain License 2 years ago
LICENSE Public Domain License 2 years ago
README.md Initial commit 2 years ago
alpine-compile support IPv4 and IPv6 2 years ago
nodnsd.c force IPv4 and IPv6, cleaner load/store of dns_flags from buffer 2 years ago

README.md

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.