remove_local_cname_record
Removes all CNAME records for a hostname.
How to use it
remove_local_cname_record is exposed by the Pihole MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the remove_local_cname_record tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL PIHOLE MCP SERVER LISTINGOther tools in Pihole MCP Server (7)
add_local_a_record
Adds a local A record to Pi-hole(s).
add_local_cname_record
Adds a local CNAME record to Pi-hole(s).
list_local_dns
Lists all local DNS settings from Pi-hole(s)
list_queries
Fetches the recent DNS query history from Pi-hole(s)
list_query_history
Get activity graph data for queries over time
list_query_suggestions
Get query filter suggestions
remove_local_a_record
Removes all A records for a hostname.