IP address of an ad or domain

Is it possible to see or get the specific IP address of an ad or a domain in pi-hole? Is it possible to see it in the query log?

No in the query log, but you can use "Tools/Tail pihole.log" to see the actual IP a domain resolves to.

You can also search for the domain name in file /var/log/pihole.log.

Or you can query Google DNS @8.8.8.8 if suspect the domein is on the adlists and being blocked by Pi-hole:

pi@ph5b:~ $ nslookup flurry.com localhost
Server:         localhost
Address:        ::1#53

Name:   flurry.com
Address: 0.0.0.0
Name:   flurry.com
Address: ::
pi@ph5b:~ $ nslookup flurry.com 8.8.8.8
Server:         8.8.8.8
Address:        8.8.8.8#53

Non-authoritative answer:
Name:   flurry.com
Address: 98.136.103.23
Name:   flurry.com
Address: 212.82.100.150
Name:   flurry.com
Address: 74.6.136.150

So it is possible for a domain. How about for the ads that pi hole blocks, is it possible too? Thank you for your response good sir! :smiley:

That's the same, really.

As any DNS filter, Pi-hole is able to block ads by blocking the domain that ads are delivered from.

For that same reason, DNS filters cannot block ads that are delivered via the same domain as its content without blocking that content also.
A prime example for such a site would be YouTube.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.