dns_lookup

Resolve all common DNS record types (A, AAAA, CNAME, MX, NS, TXT, SOA) for a domain in one call, using public resolvers (Cloudflare/Google/Quad9). Args: - domain (string): the domain to query, e.g.

Server Domain Security ortamarco/domain-security-mcp-server
Category Read
Risk class Low
Parameters 00 required

What dns_lookup does on Domain Security

AI agents call dns_lookup to retrieve information from Domain Security without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why dns_lookup needs a policy

This tool only queries and retrieves publicly available DNS information. It has no side effects—it does not create, modify, delete, or execute anything. The operation is purely informational and uses standard public DNS resolvers. Low severity because DNS enumeration is passive reconnaissance that an attacker could perform with standard tools (nslookup, dig) anyway.

From the tool's definition Tool performs DNS record lookups for common types (A, AAAA, CNAME, MX, NS, TXT, SOA) using public resolvers. No modification, deletion, or execution described.

Questions about dns_lookup

What does the dns_lookup tool do? +

Resolve all common DNS record types (A, AAAA, CNAME, MX, NS, TXT, SOA) for a domain in one call, using public resolvers (Cloudflare/Google/Quad9). Args: - domain (string): the domain to query, e.g. It is categorised as a Read tool in the Domain Security MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on dns_lookup? +

Register the Domain Security MCP server in PolicyLayer and add a rule for dns_lookup: 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 Domain Security. Nothing to install.

What risk level is dns_lookup? +

dns_lookup is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit dns_lookup? +

Yes. Add a rate_limit block to the dns_lookup 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_lookup completely? +

Set action: deny in the PolicyLayer policy for dns_lookup. 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_lookup? +

dns_lookup is provided by the Domain Security MCP server (ortamarco/domain-security-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.