Was recently having DNS issues where nothing could be resolved from the freenas shell. Took a look at the /etc/resolve.conf and this is what shows:
root@freenas:~ # cat /etc/resolv.conf
# Generated by resolvconf
nameserver 192.168.86.2
This seemed odd to me seeing that in the UI it shows:
So...