PiHoleV6

PiHole V6 integration using the new REST API. PiHole is a network-level advertisement and Internet tracker blocking application which acts as a DNS sinkhole.

IT Services · PiHole

Configuration parameters

  • url — Server URL (required)
  • password — Password (required)
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings

Commands (33)

  • pihole-add-domain

    Add a domain to allow/deny list.

  • pihole-add-group

    Create a new group.

  • pihole-add-list

    Add a new adlist.

  • pihole-delete-domain

    Delete a domain from allow/deny list.

  • pihole-delete-group

    Delete a group.

  • pihole-delete-list

    Delete an adlist.

  • pihole-flush-logs

    Flush DNS logs and purge last 24 hours from database.

  • pihole-flush-network

    Flush the network table (remove all known devices and addresses).

  • pihole-get-blocking-status

    Get current PiHole blocking status.

  • pihole-get-dhcp-leases

    Get current DHCP leases.

  • pihole-get-domains

    Get domains from allow/deny lists. Filter by type and kind.

  • pihole-get-ftl-info

    Get FTL (Faster Than Light) engine information.

  • pihole-get-groups

    Get all groups.

  • pihole-get-history

    Get activity graph data (queries over time).

  • pihole-get-history-clients

    Get per-client activity graph data.

  • pihole-get-host-info

    Get host information.

  • pihole-get-lists

    Get all configured adlists.

  • pihole-get-network-devices

    Get network devices known to PiHole.

  • pihole-get-network-gateway

    Get network gateway information.

  • pihole-get-queries

    Get DNS query log with optional filtering.

  • pihole-get-query-types

    Get breakdown of DNS query types.

  • pihole-get-recent-blocked

    Get most recently blocked domain(s).

  • pihole-get-sensors

    Get sensor information from PiHole host.

  • pihole-get-summary

    Get overview of PiHole activity including query stats, client counts, and gravity info.

  • pihole-get-system-info

    Get system information from PiHole host.

  • pihole-get-top-clients

    Get top clients by query count.

  • pihole-get-top-domains

    Get top permitted or blocked domains.

  • pihole-get-upstreams

    Get metrics about upstream DNS destinations.

  • pihole-get-version

    Get PiHole component versions.

  • pihole-restart-dns

    Restart the pihole-FTL DNS service.

  • pihole-run-gravity

    Update PiHole gravity (pull latest adlists).

  • pihole-search-domain

    Search for a domain across all PiHole lists and configuration.

  • pihole-set-blocking

    Enable or disable PiHole blocking, optionally with a timer.