J
James
Hello,
I'm not terribly new to Perl, I have some basics down. What I don't
have down is finding a way to do what I want for a particular script.
What I am looking to do is to query DNS servers on both Win32 and
UNIX, to get a list of all servers in the network ranges we have.
For example,
lets say I have a 10. network and a 130. network, with several subnets
and VPN's. I want a script to go out and:
(This is where this post comes in handy)
A. Query all DNS servers in the domains, in all the networks and
either grab zone files or host files,
B. Authenticate into each server and run several subroutines to query
information on the current server,
C .. A whole bunch of other stuff.
The problems are:
A I don't know the particular nameservers at this time (unfortunately
the company doen't let you do ping sweeps or run sam-spade type tools
on the networks)
B. I don't have access to all servers at this time.
Is it possible to get DNS server names from domain controllers, or
just a nslookup on the main domains?
If I don't have access to the DNS servers, is it possible to extract
the information through ADS?
Is it also possible to get the DNS information (in full) - all servers
in DNS, if I don't have access to the nameserver?
I'm pretty new to windows, and if I had access to the other platforms
I'd have no problem getting the information. I essentially have to
write the tools myself.
Thanks-
I'm not terribly new to Perl, I have some basics down. What I don't
have down is finding a way to do what I want for a particular script.
What I am looking to do is to query DNS servers on both Win32 and
UNIX, to get a list of all servers in the network ranges we have.
For example,
lets say I have a 10. network and a 130. network, with several subnets
and VPN's. I want a script to go out and:
(This is where this post comes in handy)
A. Query all DNS servers in the domains, in all the networks and
either grab zone files or host files,
B. Authenticate into each server and run several subroutines to query
information on the current server,
C .. A whole bunch of other stuff.
The problems are:
A I don't know the particular nameservers at this time (unfortunately
the company doen't let you do ping sweeps or run sam-spade type tools
on the networks)
B. I don't have access to all servers at this time.
Is it possible to get DNS server names from domain controllers, or
just a nslookup on the main domains?
If I don't have access to the DNS servers, is it possible to extract
the information through ADS?
Is it also possible to get the DNS information (in full) - all servers
in DNS, if I don't have access to the nameserver?
I'm pretty new to windows, and if I had access to the other platforms
I'd have no problem getting the information. I essentially have to
write the tools myself.
Thanks-