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 cc7e7c523c compiler option '-no-pie' for completely static binary 3 months ago
LICENSE Public Domain License 3 years ago
README.md Initial commit 4 years ago
alpine-compile compiler option '-no-pie' for completely static binary 3 months ago
nodnsd.c force IPv4 and IPv6, cleaner load/store of dns_flags from buffer 4 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.