there are some real large hosts files to filter ads sites, which can be
added to dnsmasq via addn-hosts.
is it possible for addn-hosts supporting binary format of these hosts
files, basically making them a binary tree of some sort, to minimize its
memory and disk usage, I can see those additional
for a large size cname list currently it has to be included in dnsmasq.conf
or conf-dir, which does not work with SIGHUP like what servers-file or
/etc/hosts do, restart must be used for cname list updates, and it's very
slow comparing to SIGHUP
can we have a flag such as 'cnames-file', the way li
>
> Hey Simon,
>
> On Thu, 2021-04-01 at 23:55 +0100, Simon Kelley wrote:
> > I could do with a handle on exactly how people are configuring dnsmasq
> > to do ad blocking. It's not something I have much experience of.
>
> The situation for Pi-hole (a popular ad blocker based on dnsmasq) is the
> fo
On the newest openwrt I installed 'safe-search' which has a few files under
/etc/safe-search/available/ and they're symlinked to
/etc/safe-search/enable/ by choice.
dnsmasq reports it failed to load those symlinks under enable/
if I remove the symlinks, and copy the real files over from available
a symlink. I'd suspect ownership or permissions. The dnsmasq process
> in OpenWrt is run as the 'dnsmasq' user, so maybe 'chown dnsmasq:dnsmasq
> /etc/safe-search/enabled/*' or some variant would resolve your issue.
>
> On Fri, Nov 25, 2022 at 7:05 PM Gordon Shawn
can dnsmasq listen on different ports(e.g. 53, 5353,5354,5355) in the same
time with a single process running? each port can have its own
configuration. so far I invoke multiple dnsmasq processes to do that. if
they can share with one process I can save some memory.
Thanks
Gordon
_
what's the size limitation of all the /etc/hosts and dnsmaq.conf
entries(address/cname mapping etc) ?
I loaded 50K hosts(ads) and so far dnsmasq is running fine.
Thanks,
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lis
I'm running two dnsmasqs daemons one on port 53 another one on port 5333,
both set cache-size=8192, are these two dnsmasq processes sharing the same
cache or they're totally independent as far as cache goes?
each dnsmasq also calls different host files, i.e. /etc/hosts.1(for port
53) and /etc/host
If I have two lines:
cname=www.mysite.com,whatever.com
cname=mysite.com,another.com
dnsmasq will refuse to run and complains "duplicate CNAME"
so it assumes www.mysite.com is the same as mysite.com? but I actually can
set www-subdomain to different sub-domains, isn't it?
plus, if dnsmasq insist
prefer it pick up one and issue a warning, instead of
shutting down itself though.
On Sun, Sep 8, 2019 at 5:17 PM Gordon Shawn wrote:
> If I have two lines:
>
> cname=www.mysite.com,whatever.com
> cname=mysite.com,another.com
>
> dnsmasq will refuse to run and complains "dup
10 matches
Mail list logo