DNS Lookup - Forward and Reverse (A, MX, TXT, DMARC, PTR) avatar
DNS Lookup - Forward and Reverse (A, MX, TXT, DMARC, PTR)

Pricing

$3.99/month + usage

Go to Store
DNS Lookup - Forward and Reverse (A, MX, TXT, DMARC, PTR)

DNS Lookup - Forward and Reverse (A, MX, TXT, DMARC, PTR)

Developed by

xyzzy

Maintained by Community

Quickly retrieve DNS records (A, AAAA, MX, CNAME, TXT, DMARC, NS, SOA) or perform reverse DNS lookups. Ideal for DNS audits, cybersecurity analysis, competitor intelligence, sales & marketing outreach, tech stack identification, domain monitoring, and DNS troubleshooting.

0.0 (0)

Pricing

$3.99/month + usage

4

Monthly users

6

Runs succeeded

>99%

Response time

1.1 days

Last modified

18 hours ago

You can access the DNS Lookup - Forward and Reverse (A, MX, TXT, DMARC, PTR) programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "kbX7ekbh5TFRwcioc"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/xyzzy~dns-lookup/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-xyzzy-dns-lookup",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/xyzzy~dns-lookup/runs": {
50      "post": {
51        "operationId": "runs-sync-xyzzy-dns-lookup",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/xyzzy~dns-lookup/run-sync": {
93      "post": {
94        "operationId": "run-sync-xyzzy-dns-lookup",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "domains"
135        ],
136        "properties": {
137          "domains": {
138            "title": "Domains or IP addresses",
139            "type": "array",
140            "description": "Domain names (without protocol prefixes like https:// or www.) for standard DNS lookup or IP addresses for reverse DNS lookup.",
141            "items": {
142              "type": "string"
143            }
144          },
145          "dnsRecordTypes": {
146            "title": "DNS Record Types",
147            "type": "array",
148            "description": "Specific DNS record types to retrieve (e.g., A, MX, TXT). Ignored for reverse DNS lookups.",
149            "items": {
150              "type": "string"
151            }
152          },
153          "reverseLookup": {
154            "title": "Reverse DNS Lookup",
155            "type": "boolean",
156            "description": "Set to true to perform reverse DNS lookups (IP to hostname). Domains array must contain valid IP addresses if enabled.",
157            "default": false
158          }
159        }
160      },
161      "runsResponseSchema": {
162        "type": "object",
163        "properties": {
164          "data": {
165            "type": "object",
166            "properties": {
167              "id": {
168                "type": "string"
169              },
170              "actId": {
171                "type": "string"
172              },
173              "userId": {
174                "type": "string"
175              },
176              "startedAt": {
177                "type": "string",
178                "format": "date-time",
179                "example": "2025-01-08T00:00:00.000Z"
180              },
181              "finishedAt": {
182                "type": "string",
183                "format": "date-time",
184                "example": "2025-01-08T00:00:00.000Z"
185              },
186              "status": {
187                "type": "string",
188                "example": "READY"
189              },
190              "meta": {
191                "type": "object",
192                "properties": {
193                  "origin": {
194                    "type": "string",
195                    "example": "API"
196                  },
197                  "userAgent": {
198                    "type": "string"
199                  }
200                }
201              },
202              "stats": {
203                "type": "object",
204                "properties": {
205                  "inputBodyLen": {
206                    "type": "integer",
207                    "example": 2000
208                  },
209                  "rebootCount": {
210                    "type": "integer",
211                    "example": 0
212                  },
213                  "restartCount": {
214                    "type": "integer",
215                    "example": 0
216                  },
217                  "resurrectCount": {
218                    "type": "integer",
219                    "example": 0
220                  },
221                  "computeUnits": {
222                    "type": "integer",
223                    "example": 0
224                  }
225                }
226              },
227              "options": {
228                "type": "object",
229                "properties": {
230                  "build": {
231                    "type": "string",
232                    "example": "latest"
233                  },
234                  "timeoutSecs": {
235                    "type": "integer",
236                    "example": 300
237                  },
238                  "memoryMbytes": {
239                    "type": "integer",
240                    "example": 1024
241                  },
242                  "diskMbytes": {
243                    "type": "integer",
244                    "example": 2048
245                  }
246                }
247              },
248              "buildId": {
249                "type": "string"
250              },
251              "defaultKeyValueStoreId": {
252                "type": "string"
253              },
254              "defaultDatasetId": {
255                "type": "string"
256              },
257              "defaultRequestQueueId": {
258                "type": "string"
259              },
260              "buildNumber": {
261                "type": "string",
262                "example": "1.0.0"
263              },
264              "containerUrl": {
265                "type": "string"
266              },
267              "usage": {
268                "type": "object",
269                "properties": {
270                  "ACTOR_COMPUTE_UNITS": {
271                    "type": "integer",
272                    "example": 0
273                  },
274                  "DATASET_READS": {
275                    "type": "integer",
276                    "example": 0
277                  },
278                  "DATASET_WRITES": {
279                    "type": "integer",
280                    "example": 0
281                  },
282                  "KEY_VALUE_STORE_READS": {
283                    "type": "integer",
284                    "example": 0
285                  },
286                  "KEY_VALUE_STORE_WRITES": {
287                    "type": "integer",
288                    "example": 1
289                  },
290                  "KEY_VALUE_STORE_LISTS": {
291                    "type": "integer",
292                    "example": 0
293                  },
294                  "REQUEST_QUEUE_READS": {
295                    "type": "integer",
296                    "example": 0
297                  },
298                  "REQUEST_QUEUE_WRITES": {
299                    "type": "integer",
300                    "example": 0
301                  },
302                  "DATA_TRANSFER_INTERNAL_GBYTES": {
303                    "type": "integer",
304                    "example": 0
305                  },
306                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
307                    "type": "integer",
308                    "example": 0
309                  },
310                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
311                    "type": "integer",
312                    "example": 0
313                  },
314                  "PROXY_SERPS": {
315                    "type": "integer",
316                    "example": 0
317                  }
318                }
319              },
320              "usageTotalUsd": {
321                "type": "number",
322                "example": 0.00005
323              },
324              "usageUsd": {
325                "type": "object",
326                "properties": {
327                  "ACTOR_COMPUTE_UNITS": {
328                    "type": "integer",
329                    "example": 0
330                  },
331                  "DATASET_READS": {
332                    "type": "integer",
333                    "example": 0
334                  },
335                  "DATASET_WRITES": {
336                    "type": "integer",
337                    "example": 0
338                  },
339                  "KEY_VALUE_STORE_READS": {
340                    "type": "integer",
341                    "example": 0
342                  },
343                  "KEY_VALUE_STORE_WRITES": {
344                    "type": "number",
345                    "example": 0.00005
346                  },
347                  "KEY_VALUE_STORE_LISTS": {
348                    "type": "integer",
349                    "example": 0
350                  },
351                  "REQUEST_QUEUE_READS": {
352                    "type": "integer",
353                    "example": 0
354                  },
355                  "REQUEST_QUEUE_WRITES": {
356                    "type": "integer",
357                    "example": 0
358                  },
359                  "DATA_TRANSFER_INTERNAL_GBYTES": {
360                    "type": "integer",
361                    "example": 0
362                  },
363                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
364                    "type": "integer",
365                    "example": 0
366                  },
367                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
368                    "type": "integer",
369                    "example": 0
370                  },
371                  "PROXY_SERPS": {
372                    "type": "integer",
373                    "example": 0
374                  }
375                }
376              }
377            }
378          }
379        }
380      }
381    }
382  }
383}

DNS Lookup - Forward and Reverse (A, MX, TXT, DMARC, PTR) OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for DNS Lookup - Forward and Reverse (A, MX, TXT, DMARC, PTR) from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

1 day

Price

$3.99