CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2020/01/26 07:50:47

Modified files:
        usr.sbin/bind/bin/dig: dig.c host.c nslookup.c 
        usr.sbin/bind/lib/isc/unix: socket.c 

Log message:
Support for queries on ports != 53

- dig(1) -p now works, as already supported by dig(1) from
ports/net/isc-bind thanks to sthen@
- "set port=..." also works in nslookup(1)
- host(1) has no support for alternate destination ports

This adds "inet" to the pledge promises of all three programs,
a compromise deemed reasonable and suggested by deraadt@; instead of
slightly more complicated patches by myself and florian@ to avoid "inet"
in the general case.

Suggested by deraadt@, ok florian@ sthen@

Reply via email to