It's a fresh installation of FreeBSD 14.3 and local_unbound service was checked, after rebooting I found `pkg` doesn't work and finally found it's because of local_unbound service doesn't work.
Tried command
but didn't work.
Hereby is some information.
Either fix this unbound problem or get rid of unbound is ok, just don't know where to go, please let me know if any more information needed.
Thank you.
Code:
# ping -c 1 freebsd.org
ping: cannot resolve freebsd.org: Address family for hostname not supported
Code:
# service local_unbound status
local_unbound is running as pid 3377.
Tried command
Code:
local-unbound-setup 180.76.76.76
Hereby is some information.
Code:
ls /etc/unbound
conf.d forward.conf root.key
control.conf lan-zones.conf unbound.conf
Code:
# cat unbound.conf
# This file was generated by local-unbound-setup.
# Modifications will be overwritten.
server:
username: unbound
directory: /var/unbound
chroot: /var/unbound
pidfile: /var/run/local_unbound.pid
auto-trust-anchor-file: /var/unbound/root.key
include: /var/unbound/forward.conf
include: /var/unbound/lan-zones.conf
include: /var/unbound/control.conf
include: /var/unbound/conf.d/*.conf
Code:
root@rob:/etc/unbound # cat forward.conf
# This file was generated by local-unbound-setup.
# Modifications will be overwritten.
forward-zone:
name: .
forward-addr: 180.76.76.76
Code:
# cat /etc/resolv.conf
# Generated by resolvconf
# nameserver 192.168.31.1
nameserver 127.0.0.1
options edns0
Either fix this unbound problem or get rid of unbound is ok, just don't know where to go, please let me know if any more information needed.
Thank you.