Jail troubleshooting
From wikinotes
Need FDQN
You can set this in rc.conf
hostname="myname.domain.com";
/dev/tun does not exist
iocage worked around this with a custom dev ruleset.
I believe I solved this with custom udev rules while using wireguard
nc: getaddrinfo: hostname nor servname provided, or not known
Create/replace /etc/resolv.conf
nameserver 192.168.1.1