What are you trying to accomplish exactly? The DNS server will give you all the hosts registered in the domain. It won't tell you which are active and which aren't. It's not one-to-one, and being there doesn't imply existance.

Smbstatus will give you all(?) the computers talking SMB, the majority of which are likely to be windows hosts.

The DHCP server would theoretically give you the list of all DHCP leases, but wouldn't give you any of the computers configured with static IPs.

And pinging everything in your subnet would give you a decent list execept that everyone's decided that they have to make their computers unpingable.

You probably knew most of this, just thought I'd explain a bit more...

Matthew