Question Locked

Script to check URLs

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi, 1st need to admit that i dont know anything about scripting; but held-up with the below requirements

1) Need a script to check 6000+ URL's on publish DNS server vai my proxy and firewall.

2) Audit log of URL identified as existings to be retained in a file

3) Copy the audit log file to a different server so that the same can be accessed by IT security team.

2 replies

by seanferd

You can only look up domains.

techrepublic.com.com. ← domain
https://www.techrepublic.com.com/5218-1035-0.htm ← URL

Have your list of domains in a file.
Use For...In...Do...
with nslookup
and pipe the output to a text file

You can easily find what you need by looking up the commands at the command prompt of from a help file.
for /?
nslookup /?

This discussion is closed to new replies.