<filename>nslookup_check.py

# Description			: This very simple script opens the file server_list.txt and the does an nslookup for each one to check the DNS entry

import subprocess										# Import the subprocess module

for server in open('server_list.txt'):				# Open the file and read each line
	subprocess.Popen(('nslookup ' + server))	# Run the nslookup command for each server in the list

<filename>nslookup_check.py

# Description			: This very simple script opens the file server_list.txt and the does an nslookup for each one to check the DNS entry

import subprocess										# Import the subprocess module

for server in open('server_list.txt'):				# Open the file and read each line
	subprocess.Popen(('nslookup ' + server))	# Run the nslookup command for each server in the list

# Description			: This very simple script opens the file server_list.txt and the does an nslookup for each one to check the DNS entry # Import the subprocess module # Open the file and read each line # Run the nslookup command for each server in the list