{"openapi":"3.0.3","info":{"title":"Gnist Context — DNS Lookup","description":"DNS record lookup — A, AAAA, MX, NS, TXT, CNAME, SOA, SRV, CAA, and reverse DNS.\n\n- **MCP endpoint:** `https://context.gnist.ai/mcp/dns-lookup/`\n- **Toolkit page:** `/toolkits/dns-lookup`\n- **Full API spec:** `/api/openapi.json`\n- **Get an API key:** `/signup`","version":"1.0.0","contact":{"name":"GnistAI","url":"https://gnist.ai"}},"servers":[{"url":"https://context.gnist.ai","description":"Production"}],"paths":{"/rest/dns-lookup/dns_lookup":{"post":{"tags":["Utilities"],"summary":"dns_lookup","description":"Look up DNS records for a domain.\n\nReturns the DNS records of the specified type. Supported types:\nA, AAAA, CNAME, MX, NS, TXT, SOA, SRV, CAA, PTR.\n\nArgs:\n    domain: Domain name to query (e.g. \"example.com\").\n    record_type: DNS record type (default \"A\"). One of: A, AAAA, CNAME, MX, NS, TXT, SOA, SRV, CAA, PTR.","operationId":"dns_lookup_dns_lookup","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"domain":{"type":"string"},"record_type":{"default":"A","type":"string"}},"required":["domain"],"type":"object"}}}}}},"/rest/dns-lookup/dns_mx_lookup":{"post":{"tags":["Utilities"],"summary":"dns_mx_lookup","description":"Look up MX (mail exchange) records for a domain.\n\nReturns the mail servers responsible for receiving email for the domain,\nsorted by priority (lower = preferred).\n\nArgs:\n    domain: Domain name to query (e.g. \"gmail.com\").","operationId":"dns_lookup_dns_mx_lookup","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"domain":{"type":"string"}},"required":["domain"],"type":"object"}}}}}},"/rest/dns-lookup/reverse_dns":{"post":{"tags":["Utilities"],"summary":"reverse_dns","description":"Perform reverse DNS lookup — find hostnames associated with an IP address.\n\nArgs:\n    ip: IPv4 or IPv6 address (e.g. \"8.8.8.8\" or \"2001:4860:4860::8888\").","operationId":"dns_lookup_reverse_dns","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"ip":{"type":"string"}},"required":["ip"],"type":"object"}}}}}},"/rest/dns-lookup/report_feedback":{"post":{"tags":["Utilities"],"summary":"report_feedback","description":"Report a bug, feature request, or general feedback for this data source.\n\nUse this when something doesn't work as expected, when you'd like\na new feature, or when you have suggestions for improvement.\n\nArgs:\n    feedback: Describe the issue or suggestion.\n    feedback_type: One of 'bug', 'feature_request', or 'general'.","operationId":"dns_lookup_report_feedback","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"feedback":{"type":"string"},"feedback_type":{"default":"general","type":"string"}},"required":["feedback"],"type":"object"}}}}}}},"tags":[{"name":"Utilities","description":"Data sources: Utilities"}],"components":{"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"gnist-api-key","description":"API key passed via request header."},"ApiKeyQuery":{"type":"apiKey","in":"query","name":"gnist_api_key","description":"API key passed via query parameter."}}}}