Skip to main content

Net::DNS - scraper resolves domains into IP addresses


OverviewNet::DNSNet::DNS – collects DNS records of a domain name. Automated mass resolving of domain databases, checking domain availability.

The functionality of A-Parser allows you to save the scraper's Net::DNS parsing settings for future use (presets), set a parsing schedule, and much more.

Saving results is possible in the form and structure you need, thanks to the built-in powerful templating engine Template Toolkit which allows you to apply additional logic to the results and output data in various formats, including JSON, SQL, and CSV.

Collected data

  • List of IP addresses
  • Used DNS server on a successful query
  • DNS record of any type (displayed in JSON format, which makes it convenient to obtain their individual parameters)

Use cases

  • Resolving domain databases
  • Checking domain availability


As queries, you need to specify a list of domains, for example:

Output results examples

A-Parser supports flexible formatting of results thanks to the built-in templating engine Template Toolkit, which allows it to output results in any form, as well as in structured formats, such as CSV or JSON

Default output

Result format:

$query: $ip ($ips.format('$ip, '))\n

The result shows the domain and its IP addresses: (,,,, ) (,,,,,,,,,,,,,,,, ) (, ) (, ) (,, ) (,,,,, )

Saving in SQL format

Result format:

[% "INSERT INTO dns VALUES('" _ query _ "', '" _ ip _ "', '" _ ips.format('$ip, ') _ "')\n" %]

Example of result:

INSERT INTO dns VALUES('', '', ',,,,,, ')
INSERT INTO dns VALUES('', '', ', ')
INSERT INTO dns VALUES('', '', ',,,, ')
INSERT INTO dns VALUES('', '', ', ')
INSERT INTO dns VALUES('', '', ', ')

Dumping results to JSON

Общий формат результата:

[% IF notFirst;
notFirst = 1;

obj = {};
obj.query = query;
obj.ips = p1.ips;

obj.json %]

Начальный текст:


Конечный текст:


Example of result:


To make the "Start text" and "End text" options available in the Task Editor, you need to activate "More options".

Possible settings

ParameterDefault valueDescription
DNS Servers208.67.220.220, multiple servers separated by commas
Not found is errorAllows rechecking false responses from DNS servers
Rotation typeConsistentlyMethod for selecting the next DNS server (Sequentially/Randomly)
Ban not working serversBan non-working servers using a heuristic algorithm for 20 minutes, if there is only one server left - it does not get banned
Query typeA - Address recordAllows you to select the type of record