privacy_ecs_leak
Detect if a DNS resolver leaks EDNS Client Subnet (ECS) data, which can expose client location to authoritative servers.
Instructions
Test EDNS Client Subnet (ECS) leak on a DNS resolver. Sends a query with an ECS option containing a /24 subnet to check if the resolver forwards client subnet information to authoritative servers, potentially exposing client location.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resolver": "<resolver>"
},
"name": "privacy_ecs_leak"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resolver | Yes | IP address of the DNS resolver to test for ECS forwarding | |
| test_domain | No | Test domain to use (default: 'o-o.myaddr.l.google.com' which echoes resolver info) |