Quote:

How would you query the DNS server to list the names of the active PCs on its local subnet?


host -t axfr dnsdomain dnsserver
or
dig @dnsserver dnsdomain axfr

The DNS server must allow zone transfers to your IP address for this to succeed.
If your default DNS server is auhoritative for the domain, you can leave out the dnsserver arguments.

Pim