Filename | d-s2df6134d3d57426 |
Filesize | 91.00 B |
Version | 2.00 |
Date added | July 31, 2016 |
Downloaded | 3399 times |
Category | DNS |
Script provided by Michael B. Smith – Exchange MVP
Michael B. Smith
Michael (at) TheEssentialExchange.com
April 2012
Patched 2016-02-03
If a computer had multiple IP addresses, the scanner would get confused and not properly populate the $objects array.
Primary functionality:
Based on either an input file or the output of a default command:
dnscmd ( $env:LogonServer ).SubString( 2 ) /enumrecords $env:UserDnsDomain “@”
Create an array containing all of the DNS objects describing the input.
Secondary functionality:
Find all the duplicate IP addresses and the duplicate names contained within either the file or the command output.
By specifying the -skipRoot option, all records for the root of the domain are ignored.
General record format returned by DNScmd.exe:
name
[aging:xxxxxxxx]
TTL
resource-record-type
value
[optional additional values]
Fields may be separated by one-or-more spaces or one-or-more tabs [aging:xxxxxxxx] fields are optional