dnsmap
DNS network mapper
npm
Install via$ npm install --save dnsmap
Usage
var dnsmap =
Mapping subdomains
var readline = var fs = var wordlist = readline var mapper = dnsmap wordlist mapper
Mapping TLDs & public suffixes
var wordlist = readline var mapper = dnsmap wordlist mapper
Example data
event result for google.tel
:
domain: 'google.tel' A: '194.77.54.2' TXT: '.tsm' '13.1' 'pddx' '1' 'color1' '' 'color2' '' 'color3' '' 'color4' '' 'css' '' 'pss' '' 'hml' '' 'htl' '' 'gan' '' 'log' '' 'bkg' '' 'bip' '' NS: 'd0.cth.dns.nic.tel' 'a0.cth.dns.nic.tel' 'n0.cth.dns.nic.tel' 's0.cth.dns.nic.tel' 't0.cth.dns.nic.tel' SOA: nsname: 'd0.cth.dns.nic.tel' hostmaster: 'cth-support.support.nic.tel' serial: 10 refresh: 10800 retry: 3600 expire: 2592000 minttl: 60 NAPTR: flags: 'u' service: 'E2U+web:http' regexp: '!^.*$!http://www.google.com!' replacement: '' order: 100 preference: 100
Examples
You can run the files in the example
folder,
and also supply a target as an argument (example(.com)
is used by default):
# Map out registered TLDs $ node example/tlds.js google
# Map subdomains from a wordlist $ node example/readline.js google.com