britannic/blacklist

Commit failed upon install

wjhrdy opened this issue · 2 comments

When I install this on my ER-X SFP I am getting this at the end of the install:

post-install: INFO[078]20:34:30.295: set service dns forwarding blacklist hosts source sysctl.org url http://sysctl.org/cameleon/hosts
post-install: INFO[079]20:34:30.511: set system task-scheduler task update_blacklists executable path /config/scripts/update-dnsmasq-cronjob.sh
post-install: INFO[07a]20:34:30.688: set system task-scheduler task update_blacklists executable arguments 10800
post-install: INFO[07b]20:34:30.921: set system task-scheduler task update_blacklists interval 1d
At least one interface must be configured for DNS forwarding parameter 'listen-on' or 'except-interface' but not both

[ system task-scheduler ]
Restarting periodic command scheduler: cronStopping periodic command scheduler: cron.
Starting periodic command scheduler: cron.

Commit failed
post-install: ERRO[07c]20:34:33.328: commit failed!
Saving configuration to '/config/config.boot'...
Done
post-install: INFO[07d]20:34:34.709: save
post-install: INFO[07e]20:34:34.896: end
post-install: INFO[07f]20:34:35.069: chgrp -R vyattacfg /opt/vyatta/config

This makes the install fail.

I get this message either way I install it.
Through apt-get or through dpkg

I searched around a bit and found the fix you posted on the ubnt community (click spoiler)

configure
set service dns forwarding cache-size 2048
set service dns forwarding except-interface <Your WAN i/f>
set service dns forwarding name-server <Your choice of IPv4 Internet Name-Server>
set service dns forwarding name-server <Your choice of IPv4 Internet Name-Server>
set service dns forwarding name-server <Your choice of IPv6 Internet Name-Server>
set service dns forwarding name-server <Your choice of IPv6 Internet Name-Server>
set service dns forwarding options bogus-priv
set service dns forwarding options domain-needed
set service dns forwarding options domain=mydomain.local
set service dns forwarding options enable-ra
set service dns forwarding options expand-hosts
set service dns forwarding options localise-queries
set service dns forwarding options strict-order
set service dns forwarding system
set system name-server 127.0.0.1
set system name-server '::1'
commit; save;exit

Yeah, the integration doesn't set up dnsmasq itself, which is why the FAQ has the same info you found on the Ubiquiti forums.