|
From: Renaud (R. O. <re...@ol...> - 2018-07-17 21:18:34
|
On Tue, 17 Jul 2018 16:07:47 -0400 Jack Beglinger <jac...@gm...> wrote: > Depends on your tools... for me I block about 17,000 sites that do > tracking with... > # mods to IPCop > # change: /etc/dnsmasq.conf > # added line in global: addn-hosts=/etc/hosts.ext > # Download file from MVPS and place HOSTS on desktop. > http://www.mvps.org/winhelp2002/hosts.htm > # run to copy HOSTS to IPCop. > scp -P 8022 HOSTS root@ipcop:/etc/hosts.ext > # gain access to IPCop > ssh root@ipcop -p 8022 > # run on IPCop to reactive dnamasq > /etc/rc.d/rc.dnsmasq restart > # then to leave type > exit I have on another box a /etc/hosts file with over 500.000 lines ;-3) > You can add your list as another. IPCop DNS allows for multiple host > files. Thank you. But I am worried by the dire warning in ? : # Do not modify '/var/ipcop/dhcp/dnsmasq.conf' directly since any changes # you make will be overwritten whenever you resave dhcp settings using the # web interface! # Instead modify the file '/var/ipcop/dhcp/dnsmasq.local' and then restart # the DHCP server using the web interface or restartdhcp. # Changes made to the 'local' file will then propagate to the DHCP server. So should I add the "add-hosts=/etc/hosts.ext" line to /var/ipcop/dhcp/dnsmasq.local or to /etc/dnsmasq.conf Cheers, Ron. -- The mome rath isn't born that could outgrabe me. -- Nicol Williamson -- http://www.olgiati-in-paraguay.org -- |