shithub: riscv

Download patch

ref: f67c4c85232b032f1825de30f4f943789257984e
parent: eb8fe8137b742646e9f3402149596eb8da62cc72
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Nov 1 17:57:08 EDT 2023

ndb/dns: add -L flag for local-recursive server

One might think that specifying the listen address
is enougth to prevent running a open resolver,
but this does not work for global IPv6 addresses.

The -L flag allows answering recursive queries
ONLY for IP addresses that are directly reachable
on a interface.