Critical Risk →

dns_flush_allowed

Flush the entire allow list. All allowed domains will be removed. Requires confirm=true to execute.

How to control dns_flush_allowed ↓

What dns_flush_allowed does on Technitium MCP Secure

AI agents call dns_flush_allowed to permanently remove resources in Technitium MCP Secure — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Critical Risk

Why dns_flush_allowed needs a policy

This tool irreversibly removes all entries from the allow list in bulk. 'Flush' and 'All allowed domains will be removed' indicate a wholesale destructive operation. While it requires confirm=true, the action itself is irreversible without manual re-entry of all previously allowed domains, making it Destructive with high severity given the blast radius of wiping DNS allow-list configuration.

From the tool's definition Flush the entire allow list. All allowed domains will be removed.

Risk signalsBulk/mass operation — affects multiple targets

Documented attack patterns abuse exactly the kind of access dns_flush_allowed gives an agent:

How to control dns_flush_allowed

PolicyLayer is an MCP gateway — it sits between your AI agents and Technitium MCP Secure, and nothing reaches the server without passing your rules. This is the rule we recommend for dns_flush_allowed:

policy.json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "dns_flush_allowed"
  ]
}

dns_flush_allowed disappears from the agent's tool list entirely, and any attempt to call it is denied. The rest of the server keeps working.

  1. Create a free account and register Technitium MCP Secure — nothing to install.
  2. Add this policy — paste it, or build it visually.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
RESTRICT THIS TOOL →

Free to start. No card required.

Related tools and policies

Go deeper

Questions about dns_flush_allowed

What does the dns_flush_allowed tool do? +

Flush the entire allow list. All allowed domains will be removed. Requires confirm=true to execute. It is categorised as a Destructive tool in the Technitium MCP Secure MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on dns_flush_allowed? +

Register the Technitium MCP Secure MCP server in PolicyLayer and add a rule for dns_flush_allowed: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Technitium MCP Secure. Nothing to install.

What risk level is dns_flush_allowed? +

dns_flush_allowed is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit dns_flush_allowed? +

Yes. Add a rate_limit block to the dns_flush_allowed rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block dns_flush_allowed completely? +

Set action: deny in the PolicyLayer policy for dns_flush_allowed. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides dns_flush_allowed? +

dns_flush_allowed is provided by the Technitium MCP Secure MCP server (rosschurchill/technitium-mcp-secure). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Technitium MCP Secure tool call.

Start from Technitium MCP Secure, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.

Free to start. No card required.

39 Technitium MCP Secure tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.