how to find the packege names

hi every onei would like to know the package names needed to install any server EXAMPLE DNS along with the depending packages.as i am new to this environment please do not ignore as it might be a simple.and please provide an example along with the command
[290 byte] By [sravanth007a] at [2007-11-27 3:19:17]
# 1

there are many dns server available e.g Bind , DJBdns

Solaris contain Bind by default

here is example to find package name

root@rock # pkginfo | grep -i bind

systemSUNWbind BIND DNS Name server and tools

systemSUNWbindrBIND Name server Manifest

root@rock #

To find dependies of pkg

root@rock # cd /var/sadm/pkg/SUNWbind/install/

root@rock # cat depend

# Copyright 2004 Sun Microsystems, Inc. All rights reserved.

# Use is subject to license terms.

#

#ident "@(#)depend1.304/12/03 SMI"

#

# This package information file defines software dependencies associated

# with the pkg. You can define three types of pkg dependencies with this file:

#P indicates a prerequisite for installation

#I indicates an incompatible package

#R indicates a reverse dependency

# <pkg.abbr> see pkginfo(4), PKG parameter

# <name> see pkginfo(4), NAME parameter

# <version> see pkginfo(4), VERSION parameter

# <arch> see pkginfo(4), ARCH parameter

# <type> <pkg.abbr> <name>

#(<arch>)<version>

#(<arch>)<version>

#...

# <type> <pkg.abbr> <name>

# ...

P SUNWcar Core Architecture, (Root)

P SUNWkvm Core Architecture, (Kvm)

P SUNWcsr Core Solaris, (Root)

P SUNWcsu Core Solaris, (Usr)

P SUNWcsd Core Solaris Devices

P SUNWcsl Core Solaris Libraries

P SUNWopenssl-libraries OpenSSL Libraries

P SUNWbindr BIND Name server manifest

root@rock #

mtalhaa at 2007-7-12 8:21:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...