Pi-hole on Devuan

Hi. I do not own a raspberry pi. but I do have a file server that runs devuan. (a fork of debian) I have 2 questions.
1-can I install pi-hole on the server

2-will it makes conflict with the file server? (sftp)

Devuan is not one of the supported distributions.

well i just finished the installation. so i guess it works. do you know how can i add a specific ad link to the block list ?

Is there a single domain you want to add? If so, from the admin GUI > blacklist. Then type in the domain and “add exact”.

well I want to ban an ad provider. called sabavision.com i did that. but looks like there is no effect. it didnt do much.

i tried www.sabavision.com and sabavision.com it does not do anything. do i have to restart the server / dns resolver ?

You should not have to restart anything. What are the outputs of these commands from the Linux terminal:

dig sabavision.com

dig www.sabavision.com

pihole -q -adlist sabavision.com

cat /etc/pihole/blacklist.txt

; <<>> DiG 9.9.5-9+deb8u16-Debian <<>> www.sabavision.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13662
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.sabavision.com. IN A

;; ANSWER SECTION:
www.sabavision.com. 2 IN A 0.0.0.0

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Feb 19 23:05:11 EST 2019
;; MSG SIZE rcvd: 63

output of pihole -q -adlist sabavision.com : Match found in Blacklist
www.sabavision.com

that also appears in cat /etc/pihole/blacklist.txt

and i think i cant do much about that. it broked the website(s) that use that ad service.

Your dig output above shows that Pi-Hole is blocking www.sabavision.com. It doesn't appear that sabavision.com is in your blacklist. What was the output of dig sabavision.com ?

; <<>> DiG 9.9.5-9+deb8u16-Debian <<>> sabavision.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10187
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 11

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;sabavision.com. IN A

;; ANSWER SECTION:
sabavision.com. 8862 IN A 185.147.178.24

;; AUTHORITY SECTION:
sabavision.com. 6821 IN NS ns3.dnsmadeeasy.com.
sabavision.com. 6821 IN NS ns2.dnsmadeeasy.com.
sabavision.com. 6821 IN NS ns0.dnsmadeeasy.com.
sabavision.com. 6821 IN NS ns4.dnsmadeeasy.com.
sabavision.com. 6821 IN NS ns1.dnsmadeeasy.com.

;; ADDITIONAL SECTION:
ns4.dnsmadeeasy.com. 4920 IN A 208.80.127.2
ns4.dnsmadeeasy.com. 778 IN AAAA 2600:1802:4::1
ns1.dnsmadeeasy.com. 4400 IN A 208.80.124.2
ns1.dnsmadeeasy.com. 10573 IN AAAA 2600:1801:1::1
ns3.dnsmadeeasy.com. 1607 IN A 208.80.125.2
ns3.dnsmadeeasy.com. 254 IN AAAA 2600:1801:3::1
ns2.dnsmadeeasy.com. 889 IN A 208.80.126.2
ns2.dnsmadeeasy.com. 10573 IN AAAA 2600:1802:2::1
ns0.dnsmadeeasy.com. 2096 IN A 208.94.148.2
ns0.dnsmadeeasy.com. 420 IN AAAA 2600:1800::1

;; Query time: 8 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Feb 19 23:15:02 EST 2019
;; MSG SIZE rcvd: 381

This confirms that this domain is not on the blacklist and is not being blocked. What is the output of:

sudo grep sabavision /etc/pihole/blacklist.txt

its www.sabavision.com

Your comment was that neither domain was being blocked. One is (and is on the blacklist), and the other isn't (and we are checking whether it is on the blacklist).

oh ok. i got it. i thought there is no difference between www.domain.com and domain.com im gonna add that . its probably gonna break the website but i will try. thanks for your time. pi hole rocks !

Let me tell the full story. there is a website that i use a lot. the problem is that it has a lot of ads. even a ad blocker cant fully hide the ads. the banner ads are provided by that company "sabavision" so i thought maybe blocking the domain will make those ads not show up. now after adding sabavision.com , it does block it and it removes the banner ads but it completely ruins the website like its just bare html.

In this case, in addition to Pi-Hole, you should consider using a browser based blocker like uBlock Origin or the like. These can block subdomains and selected content on a domain that Pi-Hole is unable to block.

will do. thank you all.

UPDATE : I added the wrong link to the blacklist. after adding the right link to the blacklist (starts with api) all ads from that ad provider are completely blocked. Thank you all.