Scripted installation of Plex Media Server

I just tried to use this script and the script fails.
it seems the jail is not getting DNS. outside of the jail DNS works. what am i doing wrong?

root@Atlas[/mnt/Storage/Scripts/freenas-iocage-plex]# ./plex-jail.sh
plex successfully created!

Testing SRV response to FreeBSD
pkg.freebsd.org's SRV record could not be verified.

Testing DNSSEC response to FreeBSD
pkg.freebsd.org could not be reached via DNSSEC.

Testing DNS response to FreeBSD
pkg.freebsd.org could not be reached via DNS, check your network
Failed to create jail

plex-config

JAIL_IP="192.168.10.200"
DEFAULT_GW_IP="192.168.10.1"
POOL_PATH="/mnt/Storage/AppData"