AIX

 View Only
  • 1.  nslookup command missing from base AIX 7.3 installation

    Posted Mon December 18, 2023 01:27 PM
    Edited by Ron Arms Mon December 18, 2023 01:30 PM

    I know insecure protocols; (telnet, ftp, rcp) have been removed from base AIX 7.3 installations.  Is there an AIX fileset that would provide "nslookup"?   I've found the filesets for telnet; (bos.net.tcp.telnet, bos.net.tcp.telnetd) and FTP; (bos.net.tcp.ftp, bos.net.tcp.ftpd) and that seems to be well documented but not finding any information about AIX 7.3 and nslookup.

    The version we're currently working with is AIX 7.3 TL1 SP2 (7300-01-02-2320)

    Thanks,

    Ron Arms



    ------------------------------
    Ron Arms
    ------------------------------



  • 2.  RE: nslookup command missing from base AIX 7.3 installation

    Posted Tue December 19, 2023 01:02 AM
    Edited by Chris Gibson Tue December 19, 2023 01:05 AM

    Hi, you should find nslookup in the bind.rte fileset.

    # oslevel -s
    7300-02-01-2346
    
    # lslpp -w /usr/bin/nslookup
      File                                        Fileset               Type
      ----------------------------------------------------------------------------
      /usr/bin/nslookup                           bind.rte              Symlink
    
    # ls -l /usr/bin/nslookup
    lrwxrwxrwx    1 root     system           27 Dec 19 00:44 /usr/bin/nslookup -> /usr/bin/bind_9_16/nslookup
    
    # lslpp -w /usr/bin/bind_9_16/nslookup
      File                                        Fileset               Type
      ----------------------------------------------------------------------------
      /usr/bin/bind_9_16/nslookup                 bind.rte              File
    
    # lslpp -l bind.rte
      Fileset                      Level  State      Description
      ----------------------------------------------------------------------------
    Path: /usr/lib/objrepos
      bind.rte              7.3.916.2600  COMMITTED  BIND Domain Name System
    
    Path: /etc/objrepos
      bind.rte              7.3.916.2600  COMMITTED  BIND Domain Name System

    Please note the following points:

    "The bos.net.tcp.bind and bos.net.tcp.bind_utils filesets of AIX 7.3.0 are replaced by the bind.rte fileset. The bind.rte fileset is not installed by default."

    "Starting with AIX version 7.3, Technology Level 1, the bos.net.tcp.bind and bos.net.tcp.bind_utils filesets are replaced by the bind.rte fileset. The bind.rte fileset is not installed by default."

    "BIND version 9.16 is included in the bind.rte fileset in AIX 7.3, Technology Level 1, base media package. The bind.rte fileset is not installed by default. During migration from the previous AIX version to AIX 7.3, Technology Level 1, the bos.net.tcp.bind and bos.net.tcp.bind_utils filesets that are installed on the previous AIX versions are removed, and the bind.rte BIND fileset is installed. During the update operation, the bind.rte fileset must be explicitly selected for installation. Otherwise, the bos.net.tcp.bind and bos.net.tcp.bind_utils BIND filesets remain in the updated system."

    https://www.ibm.com/docs/en/aix/7.3?topic=notes-aix-731-release

    I hope this helps.



    ------------------------------
    Chris Gibson
    ------------------------------



  • 3.  RE: nslookup command missing from base AIX 7.3 installation

    Posted Tue December 19, 2023 01:18 AM

    Good morning.

    nslookup is in the fileset bind.rte.

    Regards 

    Carsten



    ------------------------------
    Carsten Stephan
    ------------------------------



  • 4.  RE: nslookup command missing from base AIX 7.3 installation

    Posted Tue December 19, 2023 05:51 AM

    It always amazes me that people still use nslookup. It was replaced by dig more than 25 years ago now.

    What adds to my amazement is that dig is nicer and has better and more manageble output. Is it just lack of knowledge that nslookup is still in use (and supplied?).

    Regards,

    Henrik Morsing



    ------------------------------
    Henrik Morsing
    ------------------------------



  • 5.  RE: nslookup command missing from base AIX 7.3 installation

    Posted Tue December 19, 2023 11:19 AM

    The fileset "bos.net.tcp.bind_utils" contains both dig and nslookup.



    ------------------------------
    Kc Vearner
    ------------------------------



  • 6.  RE: nslookup command missing from base AIX 7.3 installation

    Posted Tue December 19, 2023 06:02 AM

    Hi Ron, BTW, dig is also delivered with the bind.rte fileset. Feel free to use which ever tool you prefer. Yes, nslookup may be old and deprecated, but you know what? It still works! :)

     # lslpp -f bind.rte | grep dig
                            /usr/bin/dig -> /usr/bin/bind_9_16/dig
                            /usr/bin/bind_9_16/dig
    


    ------------------------------
    Chris Gibson
    ------------------------------



  • 7.  RE: nslookup command missing from base AIX 7.3 installation

    Posted Tue December 19, 2023 04:49 PM

    shoot, nslookup just works for simple queries. dig isn't as simple when it comes to alias to canonical mapping or if you just want to know the IP without having to do a whole FQDN search. If I put in a short name in nslookup, it comes back. But, dig requires FQDN to present canonical name and IP. nslookup just works better for the sort of queries we do most often. Works on every single one of our thousands of boxes regardless of OS or OS version. 



    ------------------------------
    Charles Buckley
    ------------------------------