Greetings all,
there appear to be several directories for dns/unbound, one is /etc/unbound and the second one is /var/unbound. Both of them are created with directory conf.d. Upon installation of dns/unbound from ports, additional directory /usr/local/etc/unbound is created since it is for third parties programs, albeit without the conf.d.
I had not initially realized that and created all the necessary files, i.e., root.key, root.hints, and unbound.conf in the /etc/unbound directory, and all worked. Today, after realizing that I am really running the one from ports, I have moved the files to /usr/local/etc/unbound, but the dns/unbound now refuses to start with report: "unbound fatal error: could not open ports /etc/rc.conf WARNING could not start unbound". Furthermore:
Since simply moving the files between the /etc/unbound and /usr/local/etc/unbound causes a problem, it seems to indicate that there a difference among the directories.
Any help would be appreciated.
Kindest regards,
M
there appear to be several directories for dns/unbound, one is /etc/unbound and the second one is /var/unbound. Both of them are created with directory conf.d. Upon installation of dns/unbound from ports, additional directory /usr/local/etc/unbound is created since it is for third parties programs, albeit without the conf.d.
I had not initially realized that and created all the necessary files, i.e., root.key, root.hints, and unbound.conf in the /etc/unbound directory, and all worked. Today, after realizing that I am really running the one from ports, I have moved the files to /usr/local/etc/unbound, but the dns/unbound now refuses to start with report: "unbound fatal error: could not open ports /etc/rc.conf WARNING could not start unbound". Furthermore:
Code:
service unbound start
env: /usr/local/etc/rc.d/unbound: Permission denied
Since simply moving the files between the /etc/unbound and /usr/local/etc/unbound causes a problem, it seems to indicate that there a difference among the directories.
Any help would be appreciated.
Kindest regards,
M