Recursive DNS - unbound 1.13.0 problem

Hi,
I'm using unbound 1.13.0 on edge/custom build firmware and have issue with default path ubound is pointing to - after each reboot I have to symlink /etc/ubound to /var/lib/ubound/etc folder...

Tue Feb  2 06:33:04 2021 daemon.err unbound: [4694:0] error: duplicate forward zone . ignored.
Tue Feb  2 06:33:04 2021 daemon.info unbound: [4694:0] info: start of service (unbound 1.13.0).
Tue Feb  2 06:33:04 2021 daemon.info unbound: [4694:0] info: service stopped (unbound 1.13.0).
Tue Feb  2 06:33:04 2021 daemon.info unbound: [4694:0] info: server stats for thread 0: 2 queries, 0 answers from cache, 2 recursions, 0 prefetch, 0 rejected by ip ratelimiting
Tue Feb  2 06:33:04 2021 daemon.info unbound: [4694:0] info: server stats for thread 0: requestlist max 1 avg 0.5 exceeded 0 jostled 0
Tue Feb  2 06:34:32 2021 daemon.info procd: Instance unbound::unbound s in a crash loop 6 crashes, 0 seconds since last crash
Tue Feb  2 06:35:14 2021 daemon.err uhttpd[2693]: /var/lib/unbound/etc/unbound/unbound_control.pem: No such file or directory

Is there a way to make this permanent / to fix this permanent ? I tried to play with unbound.conf / but the one "generated" after each reboot in /var/lib/ubound seems to differ from the one in /etc/ubound
I believe there is a simple fix but appreciate any help :wink:

Thank you.

{
        "kernel": "5.4.94",
        "hostname": "edge_MK_Openwrt",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "Ubiquiti EdgeRouter X",
        "board_name": "ubnt,edgerouter-x",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r3012+12656-0d1b329914",
                "target": "ramips/mt7621",
                "description": "OpenWrt SNAPSHOT r3012+12656-0d1b329914"
        }
}



unbound.conf truncated

server:
  username: unbound
  chroot: /var/lib/unbound
  directory: /var/lib/unbound
  pidfile: /var/run/unbound.pid
  tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt
  auto-trust-anchor-file: /var/lib/unbound/root.key
1 Like

Need Help With UNBOUND Setup on Snapshots - #22 by vgaetera

1 Like

Seems that really helps, thank you so much :slight_smile:

1 Like

This topic was automatically closed 0 minutes after the last reply. New replies are no longer allowed.