DNS Lookup and Expert

DNS Lookup and Expert · Actions GPT

DNS Lookup API

Retrieves DNS records for any given domain.

  • GET /dnslookupGetDnsRecords

    Returns a list of DNS records associated with a particular domain.

Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "DNS Lookup API",
    "description": "Retrieves DNS records for any given domain.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://api.gptpersonalize.com/v1"
    }
  ],
  "paths": {
    "/dnslookup": {
      "get": {
        "description": "Returns a list of DNS records associated with a particular domain.",
        "operationId": "GetDnsRecords",
        "parameters": [
          {
            "name": "domain",
            "in": "query",
            "description": "The domain to check DNS records for",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "record_type": {
                        "type": "string"
                      },
                      "value": {
                        "type": "string"
                      },
                      "priority": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "mname": {
                        "type": "string"
                      },
                      "rname": {
                        "type": "string"
                      },
                      "serial": {
                        "type": "integer",
                        "format": "int64"
                      },
                      "refresh": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "retry": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "expire": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "ttl": {
                        "type": "integer",
                        "format": "int32"
                      }
                    }
                  }
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error"
          }
        },
        "security": [
          {
            "api_key": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "X-Api-Key",
        "in": "header"
      }
    },
    "schemas": {}
  }
}