I take it by 'domain' you mean windows domain rather than broadcast domain. As suggested by
marto, nmap will allow you to check (among other things) certain address ranges, or the current IP broadcast domain. If you want to get the addresses of machines currently attached to your windows domain, something like
nbtstat on the domain controller might get you further.
Update: Theres a perl interface to NetBios name resolution here.
--------------------------------------------------------------
$perlquestion=~s/Can I/How do I/g;