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