[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nslookup --- which package?



On Thu, 20 Feb 2003, Rus Foster wrote:

> Its in the "host" package
>
> rghf@duocity:~$ apt-cache search nslookup
> host - Utility for Querying DNS Servers

Not to my knownledge.

   $ apt-cache show host
   Package: host
   Priority: extra
   Section: net
   Installed-Size: 164
   Maintainer: Thomas Seyrat <tomasera@debian.org>
   Architecture: i386
   Version: 20000331-8
   Replaces: dnsutils (<< 1:9.0.0)
   Depends: libc6 (>= 2.2.5-13)
   Conflicts: dnsutils (<< 1:9.0.0)
   Filename: pool/main/h/host/host_20000331-8_i386.deb
   Size: 71230
   MD5sum: 634b3525d8add1d3a49eb697b6eaec49
   Description: Utility for Querying DNS Servers
    'host' is a utility, similar to 'nslookup' (deprecated) or 'dig',
    used to query DNS servers for domain names and zones.
    .
    This package provides the original version of 'host', originally
    in the package 'dnsutils'. BIND9 provides a similar utility,
    in 'bind9-host'.

Reading that makes me think only "host" is in there. Try this to find the
wanted package:

   $ dpkg -S nslookup
   dnsutils: /usr/share/man/man1/nslookup.1.gz
   dnsutils: /usr/bin/nslookup

Follow it up with apt-cache show to see what is in it.

   $ apt-cache show dnsutils
   Package: dnsutils
   Priority: standard
   Section: net
   Installed-Size: 226
   Maintainer: LaMont Jones <lamont@debian.org>
   Architecture: i386
   Source: bind9
   Version: 1:9.2.1-4
   Replaces: bind, bind9 (<< 1:9.1.0-3)
   Depends: libc6 (>= 2.2.5-13), libdns5, libisc4, liblwres1, libssl0.9.6,
    bind9-host | host
   Suggests: rblcheck
   Conflicts: netstd (<< 2.00)
   Filename: pool/main/b/bind9/dnsutils_9.2.1-4_i386.deb
   Size: 131130
   MD5sum: 9ac89e6bcc113be8ceb2c9f5b3499c4b
   Description: Clients provided with BIND
    This package delivers various client programs related to DNS that are
    derived from the BIND source tree.
   Task: dns-server

Hmm, various clients. Does that include nslookup? Better make sure:

   $ dpkg -L dnsutils
   /.
   /usr
   /usr/bin
   /usr/bin/dig
   /usr/bin/nslookup
   /usr/bin/nsupdate
   /usr/share
   /usr/share/doc
   /usr/share/doc/dnsutils
   /usr/share/doc/dnsutils/copyright
   /usr/share/doc/dnsutils/changelog.gz
   /usr/share/doc/dnsutils/changelog.Debian.gz
   /usr/share/man
   /usr/share/man/man1
   /usr/share/man/man1/dig.1.gz
   /usr/share/man/man1/nslookup.1.gz
   /usr/share/man/man8
   /usr/share/man/man8/nsupdate.8.gz

So apt-get install dnsutils is what you need. Mind you, nslookup is
deprecated and you probably should start using host or dig.

HTH

Grx HdV

-- 
J.A. de Vries aka HdV
Delft University of Technology
Computing Centre




Reply to: