- Yes. You usually run a query against one domain controller and
not all of them. The data is replicated to all sites. The query represents the state of the current site which may differ to another one due to replication times. To get the
computer accounts you don't need a dns-server but the DNS Zones
might not be up to date as Mathias said.
- No, reading computer-accounts from an active directory can be
done from any machine in the domain(except reading is denied for
some reason, which usually is not the case). The same is true for
dns-queries
- Yes. See below
I recommend using powershell. When you have a Windows 7 or Vista machine (with domain join) you can install RSAT and use the provided cmndlets
Get-ADComputer -Filter * | Select-Object DNSHostName, @{name="Ip";Expression={(Test-Connection $_.DNSHostname -Count 1).IPV4Address.IPAddressToString}}
This code gives you the dnsname and the current ipv4-address (if running; using the cmdlet test-connection).