tanrax / maza-ad-blocking

Simple, native and efficient local ad blocker. Only Bash.
https://maza-ad-blocking.andros.dev/
Apache License 2.0
1.78k stars 64 forks source link

dnsmasq.conf settings #10

Closed niladrishekhar closed 3 years ago

niladrishekhar commented 3 years ago

Hi Apologies for seeking attention by raising an issue.

I need some help with this - Edit file in path.

/etc/dnsmasq.conf Add the following line at the end.

conf-file=(your user path)/.maza/dnsmasq.conf Example

conf-file=/home/myuser/.maza/dnsmasq.conf

I am using a kali linux with a root user and a kali user so what would be the user path - should it be the path for both root and the kali user ?

How do I get the path ? also .maza/dnsmasq.conf doesnt exist. I initiated the installation and then got stuck so had to remove it - the rm command for .maza said couldn't as it doesn't exist.

tanrax commented 3 years ago

@niladrishekhar Hello, maybe you run it with sudo? Exist /root/.maza/dnsmasq.conf. Is it there?

niladrishekhar commented 3 years ago

Hi - thanks for your prompt response. The query returns cat: /root/.maza/dnsmasq.conf: No such file or directory

These are the steps I followed

  1. sudo apt update
  2. sudo apt install dnsmasq
  3. curl -o maza https://raw.githubusercontent.com/tanrax/maza-ad-blocking/master/maza && chmod +x maza && sudo mv maza /usr/local/bin

Do I need to run something that would generate the .maza file ?

tanrax commented 3 years ago

Yes, execute: maza update