Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.45 KB

README.md

File metadata and controls

58 lines (38 loc) · 1.45 KB

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.