Skip to content

koron/masslookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

koron/masslookup

GoDoc Actions/Go Go Report Card

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
    

Usage

  -concurrency int
        concurrency of DNS query (default 500)
  -hideerror
        hide query ERROR
  -hidenoentry
        hide NOENTRY

Configure DNS server

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.