When installing FreeBSD, the network was configured and DNS was set up correctly. However, when rebooting into a new system, the DNS in /etc/resolv.conf will be changed, and the DNS will most likely be 127.0.0.1, which is the wrong DNS and will not connect to the network. And the DNS device performed during the installation will be commented out with # to make it invalid. FreeBSD should keep the DNS settings that were made at the time of installation unmodified.
Did you enable local_unbound during installation? Then it's all right
Thanks a lot.
If you have local_unbound enabled, having 127.0.0.1 /etc/resolv.conf is correct because it supposes to use the local caching resolver. If you cannot "connect to the network" (I guess this means "cannot resolve a hostname"), please check if the local_unbound daemon is really running. (`$ service local_unbound status`)