Skip to main content

Net::DNS - domain resolver to IP addresses


Net::DNS parser overview

Net::DNSNet::DNS collects DNS records of a domain name. Automated mass domain resolving, domain availability check.

A-Parser functionality allows saving parsing settings for Net::DNS parser for further use (presets), setting up parsing schedule and much more.

Results can be saved in any format and structure you need, thanks to the built-in powerful Template Toolkit which allows applying additional logic to the results and outputting data in various formats, including JSON, SQL and CSV.

List of collected data

  • List of IP addresses
  • Used DNS server in case of a successful request
  • Any type of DNS record (displayed in JSON format, which allows conveniently obtaining their individual parameters)

Use cases

  • Resolving a mass domain base
  • Checking domain availability

Query examples

The list of domains should be specified as queries, for example:

As a result, the domain and its IP addresses are displayed. Example: (,,,, ) (,,,,,,,,,,,,,,,, ) (, ) (, ) (,, ) (,,,,, )

Output options

A-Parser supports flexible formatting of results thanks to the built-in Template Toolkit, which allows it to output results in any form, as well as in a structured form, for example, CSV or JSON.

Saving in SQL format

Result format:

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

Example of the result:

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

Dumping results in JSON

Result format:

[% data = {}; 
data.query = query;
data.ips = p1.ips; %]$data.json\n

Example of the result:


Possible settings

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