Hi, Cuz I've been removing some blank lines. But it's not the root cause. 1. Unbound check version: # unbound -V Version 1.13.2
Configure line: Linked libs: mini-event internal (it uses select), OpenSSL 1.1.1f 31 Mar 2020 Linked modules: dns64 respip validator iterator BSD licensed, see LICENSE in source package for details. Report bugs to [email protected] or https://github.com/NLnetLabs/unbound/issues 2. Unbound-checkconf # unbound-checkconf /etc/unbound/unbound.conf /usr/local/etc/unbound/var/log/unbound: No such file or directory [1634376986] unbound-checkconf[50224:0] fatal error: logfile directory does not exist But still can not start unbound with RPZ. Thanks *Nguyen Van Tri* *Da Nang - Viet Nam* *Tel: 0974 919 037* *Email: [email protected] <[email protected]>* On Sat, Oct 16, 2021 at 3:44 PM Jaap Akkerhuis <[email protected]> wrote: > Intersting, the file below doesn't has the syntax error. Are you sure the > using an upgraded unbound-check. > > By The Way, I can force the error you complained about by placicin a space > between rpz and the colon as in: > > rpz : > > On then gets: > > $ unbound-checkconf /tmp/trie.conf > /tmp/trie.conf:32: error: unknown keyword 'rpz' > /tmp/trie.conf:32: error: stray ':' > /tmp/trie.conf:33: error: syntax error > read /tmp/trie.conf failed: 3 errors in configuration file > > Note, the line numbers differ from the original message you sent. > > jaap > > Nguyễn Văn Trí writes: > > > Hi, > > here is my config file: > > unbound.conf > > ==================================================== > > > > server: > > directory: "/etc/unbound" > > logfile: /var/log/unbound/unbound.log > > pidfile: /var/run/unbound.pid > > access-control: ::0/0 allow > > access-control: 0.0.0.0/0 allow > > interface: 127.0.0.1 > > interface: ::1 > > interface: 0.0.0.0 > > port: 53 > > do-ip4: yes > > do-ip6: yes > > do-tcp: yes > > do-udp: yes > > verbosity: 1 > > log-queries: yes > > hide-identity: yes > > hide-version: yes > > > > > > > > > > > > module-config: "respip validator iterator" > > chroot: "" > > > > statistics-interval: 0 > > extended-statistics: yes > > statistics-cumulative: no > > > > rpz: > > name: trinv.com > > master: 192.0.0.2 > > ==================================================== > > Thanks > > >
