On 12/03/18 03:06 PM, David Haller wrote:
Hello,
On Mon, 12 Mar 2018, Anton Aylward wrote:
What am I missing?
I am using the 'additional hosts' mechanism of DNSMasq to block adverts
Don't. The "hosts" syntax has no wildcards.
I'm not using wildcards so that advice isn't pertinent.
I use an "include" file (via conf-dir) for blocking, and the address= mechanism:
==== /etc/dnsmasq.conf [pruned] ==== no-resolv [..] # resolver4.opendns.com server=208.67.222.222 # various more servers server=... [..] interface=lo
# see manpage for the syntax of conf-dir= conf-dir=/etc/dnsmasq.d,*.conf # EOF ====
==== /etc/dnsmasq.d/blocklist.conf [just 2 sample (wildcard) domains] ==== address=/doubleclick.com/ address=/doubleclick.net/ address=/fb.com/
I have other stuff in /etc/dnsmasq.conf that I don't want played with. I suppose I can use conf-file=/etc/dnsmasq.d/<qhatever> OK, tried that, but "systemctl status" doesn't report it. No mention in /var/log/messages either -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org