MartineauUK / Unbound-Asuswrt-Merlin

Install and manage unbound (Recursive DNS) on Asus routers
Apache License 2.0
66 stars 13 forks source link

Validating unbound.conf fails with multiple private-domain fields #12

Closed ghost closed 4 years ago

ghost commented 4 years ago

Using unbound_manager and entering multiple private-domain filed gives an error. The errors are not related per say to unbound.conf but rather duplicate local-zone entries found in adblocker converted zone file. When I use unbound-checkconf -c /opt/var/lib/unbound/unbound.conf it checks fine and I am able to reload, stop and start unbound with commands outside of using unbound_manager. Duplicate local-zone is not the issue for unbound with multiple private-domain fields. I would suggest that for duplicate local-zones we display it as warnings and still allow unbound to start.