On 23/09/2019 09:19, Anton Aylward wrote:
I'm using DNSmask lcoally. Mostly it is fine.
I have a line in /etc/dnsmasq.conf that read
# or if you want it to read another file, as well as /etc/hosts, use # this. addn-hosts=/etc/dnsmasq.d/block.hosts.txt
The idea is to have lines like 127.0.0.1 addserver.mtv.com
in there so that I don't see adverts. In that, it works.
But to get some sites, such as HuffPost.ca, to work, I need to allow and advertising site, guce.advertising.com.
So first I commented it out of the file, started the line is a hash - "#" just like works /etc/hosts, and restarted DNSMasq. Well it still go pinged to 127.0.0.1. I presumes it was a TTL issue and waited. No it still came back. That was last night. Its still like that this morning. Now I take the like out of the file altogether. Still the problem. In fact all the lines that begin # 127.0.0.1 are like that. The hash to comment them out isn't working.
Now I remove that line altogether from /etc/dnsmasq.conf and restart dnsmasq. But still a ping or nslookiup to those addresses comes back as 127.0.0.1
TTL? Cache?
Well I've disabled just about everything in DNSmasq.conf except getting responses from 8.8.8.8 and 8.8.4.4 and "success!", if you call crippling everything as 'success'. -- 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