{
  "format": "delx/intent-card/v1",
  "id": "dns-lookup-api",
  "intent": "look up DNS records for a domain",
  "title": "DNS lookup API for agents",
  "description": "A/AAAA/CNAME/MX/TXT/NS for one domain at $0.01—email delivery and infra checks without running your own recursive resolver.",
  "keywords": [
    "DNS lookup API",
    "DNS records API",
    "A MX TXT lookup",
    "domain DNS for agents",
    "x402 DNS",
    "email delivery DNS check"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/dns-lookup-api",
  "machine_url": "https://commerce.delx.ai/intents/dns-lookup-api.json",
  "recommendation": {
    "tool_name": "util_dns_lookup",
    "service_name": "DNS Lookup for Agents",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/dns-lookup",
    "price_usdc": "0.01",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "domain": {
          "type": "string",
          "description": "Domain to resolve"
        },
        "record_type": {
          "type": "string",
          "description": "DNS record type",
          "enum": [
            "A",
            "AAAA",
            "CNAME",
            "MX",
            "NS",
            "TXT"
          ],
          "default": "A"
        },
        "timeout": {
          "type": "integer",
          "description": "Timeout in seconds (1-15)",
          "default": 8,
          "minimum": 1,
          "maximum": 15
        }
      },
      "required": [
        "domain"
      ]
    },
    "example_input": {
      "domain": "example.com",
      "record_type": "A"
    },
    "example_output": {
      "tool_name": "util_dns_lookup",
      "result": {
        "domain": "example.com",
        "record_type": "A",
        "answers": [
          {
            "name": "example.com.",
            "type": "A",
            "ttl": 300,
            "data": "93.184.216.34"
          }
        ],
        "answer_count": 1
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/dns-lookup -m POST -H 'x-delx-source: intent-card-dns-lookup-api' --max-amount 0.01 -b '{\"domain\":\"example.com\",\"record_type\":\"A\"}'",
      "max_amount_usdc": "0.01"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-dns-lookup-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/dns-lookup"
  }
}
