Skip to content

This is a Python3 script that will nslookup a list of IP addresses in a file provided

Notifications You must be signed in to change notification settings

martinoj2009/nslookupIpList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

nslookupIpList

This is a Python3 script that will nslookup a list of IP addresses in a file provided

example: ./lookup ips.txt

This will then go through your list of IP's, ignoring blank lines, and save to output.txt in the following format: IP ADDRESS = DNS NAME

If name can't be found it will place NOT FOUND as the DNS NAME.

You can change the list of DNS servers, it checks against 3 if the name isn't found, in the script.

REMINDER: Add the ability to pass in up to 3 DNS servers to check against.

About

This is a Python3 script that will nslookup a list of IP addresses in a file provided

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages