mass DNS lookup
$ masslookup < ip.txt > name.txt
input format:
1.2.3.4
192.168.0.1
111.112.113.114
output format:
-
Found
{IP} \t FOUND \t {WHITESPACE_SEPARATED_NAMES}
-
Error:
{IP} \t ERROR \t {ERROR_MESSAGE}
-
No entries:
{IP} \t NOENTRY
-concurrency int
concurrency of DNS query (default 500)
-hideerror
hide query ERROR
-hidenoentry
hide NOENTRY
To change DNS server (resolver), you have to change OS specified resolver.
For Linux, please edit /etc/resolv.conf
.
For Windows, please configure network adapter's TCP/IP settings.