Ran:
pihole -q pi-hole.net
API not available at: http://localhost:80/api
Open browser to: http://localhost:80/api
Error: 404 Not Found
How can I set pihole -q to work ? Thank you
Ran:
pihole -q pi-hole.net
API not available at: http://localhost:80/api
Open browser to: http://localhost:80/api
Error: 404 Not Found
How can I set pihole -q to work ? Thank you
At which URL and port is your Pi-hole running?
From where did you run this command?
ran from linux prompt
$pihole -q -h
Usage: pihole -q [option] <domain>
Example: 'pihole -q --partial domain.com'
Query the adlists for a specified domain
Options:
--partial Search the adlists for partially matching domains
--all Return all query matches within the adlists
-h, --help Show this help dialog
$pihole version
Pi-hole version is development-v6 v5.17.1-199-g4c129afb (Latest: v5.17.2)
web version is development-v6 v5.19-381-g9f9fbd23 (Latest: v5.20.2)
FTL version is development-v6 vDev-4a78d88 (Latest: v5.23)
Apparently you set the port to 8080
, but pihole -q
is trying to access the API using port 80
.
Are you able to access the web interface using port 8080
?
What is the output of pihole-FTL --config webserver.port
?
$pihole-FTL --config webserver.port
80,[::]:80,443s,[::]:443s
When I go to >Tools >Search Lists
entered the domain to check
hit Search partial match
This kills pi-hole dns
I had to start it again using pihole restartdns
update:
Search Lists from web is fixed in the last update
$pihole version
Pi-hole version is development-v6 v5.17.1-201-g758ace57 (Latest: v5.17.2)
web version is development-v6 v5.19-400-g1586a940 (Latest: v5.20.2)
FTL version is development-v6 vDev-73e265a (Latest: v5.23)
16 posts were split to a new topic: FTL crashing