address in the TEST-NET-2 network as noted in RFC5737 instead of using
the 1.1.1.1 address. Also, use port 7 (echo) for better style.
Fixes PR bin/46758 thanks to Lloyd Parkes.
While here, if we do fail to connect to the test address, don't spam
this to the console as it's a common case during the boot sequence.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
confusion in the manpage. Not to mention the examples including
commands that don't exist on NetBSD (killall, sudo), so do a bit of
cleanup (and don't copy from dist, just keep it here)
mDNSResponder -> mdnsd
mdnsd -> mDNSResponder
mDNS -> dns-sd
killall -> pkill
% sudo -> #
syslog(8) -> syslogd(8)
example for syslog -> /dev/null
Xr for pkill, syslogd, dns-sd
- Detect and adapt to resolv.conf changes through the use of the new
res_check() API, so that for example changing the search list doesn't
require restarting clients.
- A persistent mdnsd connection pool, with slow start (so that
programs like ping, ssh, etc don't keep connections open) and age-out.
NOTE: Tuning parameter values are just SWAGs.
try. No point in making queries and waiting for timeouts on lookups that
will never succeed.
Now only does lookups for linklocal addresses (v4 or v6) and
"name.local" names (and dotless names, iff "local" is specified in the
resolv.conf search list).
Also, lower the timeout in this mode, since multicast lookups should
return pretty fast or not at all.
- nss_mdns renamed to nss_multicast_dns for clarity and less chance of
confusion with nss_mdnsd (see next).
- Support using mdnsd for all unicast too with new nss_mdnsd module
(note: this mode requires an updated mdnsd too, not yet committed)
- Implement resolv.conf "search" directive support. Needed for nss_mdnsd,
potentially useful with nss_multicast_dns (you could now do
"search example.com local" in resolv.conf if you wanted to and it would
act as you might expect)
- Add references in nsswitch.conf man page and sample file
- Implement AI_CANONNAME
- Various bug fixes