diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-01-04 19:25:05 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-01-04 19:25:05 +0000 |
commit | 2402025982aa44c91e452fd792abdfc880461944 (patch) | |
tree | 02e41a037ef3ba6f07d8d82e6308ee794854e371 /sys/man | |
parent | 358551de19c9ff5bab9cd9c98769224f63fb7e94 (diff) |
ndb/dns: allow specifying local ip addresses for serving dns
Allow specifying the local IP addresses that
the UDP dns server will listen on when the
-s flag is given.
Diffstat (limited to 'sys/man')
-rw-r--r-- | sys/man/8/ndb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sys/man/8/ndb b/sys/man/8/ndb index 9ec933918..083aa090d 100644 --- a/sys/man/8/ndb +++ b/sys/man/8/ndb @@ -57,7 +57,7 @@ query, ipquery, mkhash, mkdb, mkhosts, cs, csquery, dns, dnstcp, dnsquery, dnsde .br .B ndb/dns [ -.B -norRs +.B -norR ] [ .B -a .I maxage @@ -73,6 +73,11 @@ query, ipquery, mkhash, mkdb, mkhosts, cs, csquery, dns, dnstcp, dnsquery, dnsde ] [ .B -z .I program +] [ +.B -s +[ +.I addrs... +] ] .br .B ndb/dnstcp @@ -390,7 +395,13 @@ ignore the `recursive' bit on incoming requests. Do not complete lookups on behalf of remote systems. .TP .B -s -also answer domain requests sent to UDP port 53. +also answer domain requests sent to IP +.I addrs +on UDP port 53. +If no IP +.I addrs +are given, listen on any interface on network mount point +.IR netmtpt . .TP .B -x specifies the mount point of the |