RPZ Unbound
Jaap Akkerhuis
jaap at NLnetLabs.nl
Sat Oct 16 08:44:45 UTC 2021
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
>
More information about the Unbound-users
mailing list