tests: Require allow_network_access for tests needing name resolution
Tests that require working name resolution or network access now mandate that
the kuya variable allow_network_access be set.
PR: 285826
Reported by: ngie
Reviewed by: igoro
Approved by: lwhsu
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D49633