FreeNAS 11.3 of some description? Assuming base networking is OK ... DNS is entered correctly, you can resolve names from CLI and ping out to 8.8.8.8 or something ... then maybe try an iocage fetch to grab a release.
If base networking has issues, such as ping download.freebsd.org does not resolve the name, then fix that first.