You are not logged in.
Hello,
I've installed a Pi-hole server on EC2 using the Arch Linux AMI from Uplink Laboratories. I followed the wiki so what I did is:
- installed pi-hole-server from AUR
- uncommented "conf-dir=/etc/dnsmasq.d/,*.conf" from /etc/dnsmasq.conf
- added log-queries=extra
- restarted and enabled dnsmasq.service
- pihole updateGravity
- pihole logging on
- pihole tail
- locally set up to use my new DNS server (/etc/resolv.conf is showing it correctly)
- cleared Chrome cache
- navigate around and ads still showing up
- nothing is logged by pihole
- nslookup archlinux.org -my server address- => still nothing logged in pihole
Why nothing gets logged by "pihole tail" and why ads are still loaded?
Offline
Are you routing internet traffic through PiHole?
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
Probably not. I think my DNS server is just forwarding requests to Google's DNS servers.
How do you do that?
Offline
What is the IP of the pihole box?
Post the output of `cat /etc/resolv.conf`
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Locally:
➜ ~ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 52.214.17.59
The IP address is 52.214.17.59
Last edited by EgidioCaprino (2018-07-23 18:13:41)
Offline
Did you configure the web GUI? If so, are you seeing traffic at all?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
No, I didn't configured it.
I do this on the server
[root@ip-172-31-7-138 ~]# pihole tail
[i] Press Ctrl-C to exit
11:09:55 dnsmasq[13624]: 6 80.82.77.139/54631 reply direct.shodan.io is 216.117.2.180
11:09:56 dnsmasq[31156]: 7 80.82.77.139/52351 query[TXT] ID.SERVER from 80.82.77.139
11:09:56 dnsmasq[31156]: 7 80.82.77.139/52351 forwarded ID.SERVER to 8.8.8.8
11:10:01 dnsmasq[31161]: 107 80.82.77.139/57218 query[TXT] HOSTNAME.BIND from 80.82.77.139
11:10:01 dnsmasq[31161]: 107 80.82.77.139/57218 forwarded HOSTNAME.BIND to 8.8.8.8
18:48:36 dnsmasq[13624]: 207 52.73.169.169/40841 query[A] www.cybergreen.net from 52.73.169.169
18:48:36 dnsmasq[13624]: 207 52.73.169.169/40841 forwarded www.cybergreen.net to 8.8.4.4
18:48:36 dnsmasq[13624]: 207 52.73.169.169/40841 forwarded www.cybergreen.net to 8.8.8.8
18:48:36 dnsmasq[13624]: 207 52.73.169.169/40841 reply www.cybergreen.net is 104.18.33.114
18:48:36 dnsmasq[13624]: 207 52.73.169.169/40841 reply www.cybergreen.net is 104.18.32.114
I do this from local
➜ ~ nslookup archlinux.org 52.214.17.59
Server: 52.214.17.59
Address: 52.214.17.59#53
Non-authoritative answer:
Name: archlinux.org
Address: 138.201.81.199
Name: archlinux.org
Address: 2a01:4f8:172:1d86::1
Nothing gets logged on the server. Why?
If `/etc/resolv.conf` is showing the correct DNS server I guess I'm actually using it.
Offline
Not sure... on the pihole box, does the pihole script work?
pihole -c
|¯¯¯(¯)_|¯|_ ___|¯|___ Core: version is 3.3
| ¯_/¯|_| ' \/ _ \ / -_) Web: version is 3.3
|_| |_| |_||_\___/_\___| FTL: v3.0
——————————————————————————————————————————————————————————
Hostname: yourhole (Arch )
Uptime: 3 days, 22:31:08
Task Load: 0.00 0.00 0.00 (Active: 1 of 35 tasks)
CPU usage: 0% (4x 1.2 GHz @ 323k)
RAM usage: 16% (Used: 148 MB of 936 MB)
HDD usage: 63% (Used: 4 GB of 7 GB)
LAN addr: 192.168.1.250 (Gateway: 192.168.1.1)
Pi-hole: Active (Blocking: 280717 sites)
Ads Today: 10% (Total: 675 of 7055)
Local Qrys: 6% (1 DNS servers)
Blocked: ads30.adcolony.com
Top Advert: ads.nexage.com
Top Domain: api-global.netflix.com
Top Client: rachels-iphone
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
It outputs this
|¯¯¯(¯)_|¯|_ ___|¯|___ Core: version is 3.3
| ¯_/¯|_| ' \/ _ \ / -_) Web: version is 3.3
|_| |_| |_||_\___/_\___| FTL: v3.0
——————————————————————————————————————————————————————————
Hostname: ip-172-31-7-138 (Arch )
Uptime: 1 day, 00:59:32
Task Load: 0.00 0.00 0.00 (Active: 0 of 25 tasks)
CPU usage: 0% (2.4 GHz)
RAM usage: 25% (Used: 244 MB of 982 MB)
HDD usage: 27% (Used: 2 GB of 8 GB)
LAN addr: 172.31.7.138 (Gateway: 172.31.0.1)
Pi-hole: Active (Blocking: 0 sites)
Ads Today: 0% (Total: 0 of 0)
Local Qrys: 0% (2 DNS servers)
Blocked: FTL offline
Top Advert:
Top Domain:
Top Client:
Offline
Well, you got something misconfigured... recommend you re-read the wiki article and verify setup is correct.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I'm sorry, but from my understanding the wiki just says to
- install pi-hole-server
- set up dnsmasq by changing a couple of lines (which I did)
The wiki is not helping here.
Offline
It's been too long since I had to tinker with pi-hole. Recommend you try posting to their upstream discussion board: https://discourse.pi-hole.net
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I've just done it: https://discourse.pi-hole.net/t/pi-hole … -ads/11111
Thanks
Offline