In this context please also consult the Release Notice supplied with the product interNet Services.
The different components of the interNet Services software package are installed as a POSIX program package by the POSIX installation program (see the manual “POSIX Basics for Users and System Administrators”). You will find more detailed information on the installation of the components in the section “Installation”.
For the installation and operation of the TCP-IP-SV component, the PLAM library SINLIB.TCP-IP-SV.nnn.DNS must be shareable. During installation of DNS, the installation path can be defined in the POSIX file system. The DNS resolver is installed by default in the /opt/TCP-IP-SV/dns directory.
Installing the DNS resolver
After successful installation of the DNS components the relevant commands and files are contained in the directories /usr/bin, /usr/sbin and /etc and in the installation directory /opt/TCP-IP-SV/dns. In the table on "Installing and uninstalling the DNS resolver", <instdir> stands for the installation directory /opt/TCP-IP-SV/dns.
Directory | File/Link | Description |
/etc/default | TCP-IP-SV.dns | Parameter file for the start/stop procedure |
TCP-IP-SV.dns.default | Default for TCP-IP-SV.dns | |
/etc/init.d/ | TCP-IP-SV.dns | Start/stop procedure |
/etc/rc0.d/ | K66TCP-IP-SV.dns | Symbolic link to /etc/init.d/TCP-IP-SV.dns (to terminate when POSIX shuts down) |
/etc/rc2.d/ | S70TCP-IP-SV.dns | Symbolic link to /etc/init.d/TCP-IP-SV.dns (to start when POSIX starts) |
/usr/bin/ | dig | Symbolic link to <instdir>/bin/dig, diagnostic tool for DNS |
host | Symbolic link to <instdir>/bin/host, host names DNS lookup tool | |
nslookup | Symbolic link to <instdir>/bin/nslookup, lookup tool for DNS | |
/usr/lib/ | libbind.a | Symbolic link to <instdir>/lib/libbind.a 1) |
<instdir>/bin/ | dig | Diagnostic tool for DNS |
host | Host names DNS lookup tool | |
nslookup | Lookup tool for DNS | |
/usr/sbin/ | in.dnsd | Symbolic link to <instdir>/sbin/dnsd |
<instdir>/etc/ | install.TCP-IP-SV-DEV.nnn.DNS | Installation script for the DNS development modules |
remove.TCP-IP-SV-DEV.nnn.DNS | Uninstallation script for the DNS development modules | |
rc.d/dnsd | Start/stop script for dnsd | |
<instdir>/lib/ | libbind.a | Resolver library1) |
<instdir>/readme/ | * | man pages for the DNS tools and for the resolver library1) in HTML and text format |
<instdir>/sbin/ | dnsd | DNS resolver daemon |
1)Only available if the DNS development modules are installed.
After successful installation the other activities that are required are executed under the POSIX shell in an ID with POSIX root authorization. For this purpose the POSIX shell is started with the BS2000 command START-POSIX-SHELL.
After interNet Services has been installed, the configuration files specific to the DNS components must be adapted to individual requirements before interNet Services is started up.
Uninstalling the DNS resolver
The uninstallation of the interNet Services components is carried out using the POSIX installation program under the TSOS ID in the same way as installation. During uninstallation, the active DNS resolver daemon is searched for and terminated. The termination of daemons that are still active is logged in the syslog file /var/adm/syslog. All files, links and procedures of the DNS resolver are then deleted.
In the course of uninstallation the configuration file /etc/default/TCP-IP-SV.dns is saved in the /etc/tcpipsv directory if it was changed in comparison to the default file /etc/default/TCP-IP-SV.dns.default. If a backup file with the same name already exists, it is first renamed by the date being appended to it. If installation takes place again, the backup copy can be used as a template for generating the new configuration file. In this context please ensure that the backup copy has the required status.
Installing/uninstalling DNS development modules
With the DNS development modules additional files are provided which are not required for operation of the DNS resolver daemon. These comprise the resolver library with the associated man pages which are needed if a Sockets application is to be produced in POSIX with a linked resolver library (see the table on "Installing and uninstalling the DNS resolver").
The DNS development modules are made available in the POSIX file system with the following shell script:
/opt/TCP-IP-SV/dns/etc/install.TCP-IP-SV-DEV.nnn.DNS
When the DNS development modules are no longer required, they can be removed from the POSIX file system using the following shell script:
/opt/TCP-IP-SV/dns/etc/remove.TCP-IP-SV-DEV.nnn.DNS