Is the domain black- or whitelisted

Please follow the below template, it will help us to help you!

Expected Behaviour:

[in terminal a command that returns weather an address is white or black listed]

Actual Behaviour:

[is there such a command?]

Debug Token:

[this is just a Q.]

thanks :slight_smile:

pihole -q is the command to check your blocklists for a domain.

If you type the command with -h trailing, you get the help for that command

pihole -q -h
Usage: pihole -q [option] <domain>
Example: 'pihole -q -exact domain.com'
Query the adlists for a specified domain

Options:
  -adlist             Print the name of the block list URL
  -exact              Search the block lists for exact domain matches
  -all                Return all query matches within a block list
  -h, --help          Show this help dialog
1 Like

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