Configuring name service, NIS, and NTP clients (2022)

DOC HOMESITE MAPMAN PAGESGNU INFOSEARCHPRINT BOOK

Configuring name service, NIS, and NTP clients

In UnixWare, theClient Managerallows you to set up a host as a client of several TCP/IPnetworking services including DNS name service,NIS information service, and NTP time service.

See also:

  • ``Configuring Domain Name System (DNS) servers''
  • ``Administering the Network Information Service (NIS)''
  • ``Configuring Network Time Protocol (NTP) service''

The Client Manager interface

If you are logged in as the network administrator or the system administrator,you can start the Client Manager in any of these ways:

  • Start the SCOadmin launcher by entering scoadmin on the commandline, and then selectNetworking Configuring name service, NIS, and NTP clients (1) Client Manager.
  • Enter scoadmin Client Manager on the command line.
For more information on using SCOadmin managers, see``Administering your system with SCOadmin''.

For convenience, the Client Manager displays thehostname and Internet domain namefor the host being configured.

With the Client Manager, you can:

  • Configure name serviceusing one or more of the following methods:
    • Domain Name System(DNS)
    • the /etc/hosts file
    • Network Information Service(NIS)
  • Configure the order in which the configuredname serviceswill be tried when the client wants to resolvedomain names and IP addresses.
  • Configure aNetwork Information Service(NIS) client
  • Configure aNetwork Time Protocol(NTP) client
The Client Manager also provides a graphicalinterface to the following networkingtools:finger, nslookup, ping,traceroute, and whois.

Configuring a DNS client

To configure a DNS client using the Client Manager:

  1. If the host is not already configured as a DNS client, selectServices Configuring name service, NIS, and NTP clients (2) Add Configuring name service, NIS, and NTP clients (3) DNS.

    If the host is already configured as a DNS client,click on DNS Client in the services listed, and then selectServices Configuring name service, NIS, and NTP clients (4) Modify.

  2. Enter the following details for the host:

    Local domain
    The fully qualified name for the domain that the host is in, for example,mynet.COM.If you do not specify a domain search order,the domain name will be appended when lookingup a name which does not contain a dot.

    Domain search order
    Enter a list of up to six domains that you want DNS to search if youspecify a hostname without appending a domain name.For each domain you enter, click onAdd to add it to the list. You should normally include the localdomain in this list. DNS will search the domains for a hostnamein the order that you specify them in the list.

    To change the position of a selected item in the list,click on Promote or Demote.


    Name server search order
    Enter a list of up to three DNS name servers, specified by theirIP addresses, that the client can query.For each name server you enter, click on Add to add it to the list.If the host you are configuring is itself alreadyconfigured as a DNS nameserver, place it at the top of the list by specifying it first using theloopback IP address (127.0.0.1).The resolver will query each name serverin the order that you specify them in the list until it gets an answer.

    To change the position of a selected item in the list,click on Promote or Demote.

  3. Click on OK to exit.
NOTE:This procedure modifies the file /etc/resolv.conf.Seeresolv.conf(4tcp)for a description of the format of this file.

Configuring the /etc/hosts file

To configure name service on a client using the /etc/hosts file:

  1. If the /etc/hosts file does not already exist, selectServices Configuring name service, NIS, and NTP clients (5) Add Configuring name service, NIS, and NTP clients (6) Hosts databasein the Client Manager.

    If the /etc/hosts file does already exist,click on /etc/hosts file in the services listed in theClient Manager, and then selectServices Configuring name service, NIS, and NTP clients (7) Modify.

  2. To add an entry to the /etc/hosts file, click on Add,enter the IP address, hostname, and any alias names, then clickon OK.

    To modify an entry in the /etc/hosts file, click on it in thelist to select it, and then click on Modify.Click on OK to save your changes.

    To delete an entry in the /etc/hosts file, click on it in thelist to select it, and then click on Delete.

  3. Click on OK to exit.
NOTE:This procedure modifies the file /etc/hosts.Seehosts(4tcp)for a description of the format of this file.

Entries for the host, including the loopback address, cannot be modifiedto prevent accidental deletion.

Configuring an NIS client

To configure an NIS client:

  1. If you want the client to obtain password and group informationfrom NIS servers, use an editor toremove the entries for non-local users and groups from /etc/passwdand /etc/group on the client, and add the following singleline entry to the end of both files:
    +:
    Variations other than this simple entryare possible with /etc/passwd.See``Preparing /etc/passwd''for details.WARNING:Do not remove entries for local accounts and groups such as root,bin, and sys. The system must be able to locate theseentries at times when NIS service may be unavailable.

    For more information about configuring other files on a NIS client, see``Preparing files on NIS clients''.

  2. If the host is not configured as an NIS client, selectServices Configuring name service, NIS, and NTP clients (8) Add Configuring name service, NIS, and NTP clients (9) NISin the Client Manager.

    If the host is already configured as an NIS client,click on NIS client in the services listedin the Client Manager, and then selectServices Configuring name service, NIS, and NTP clients (10) Modify.

  3. Enter the name of the NIS domain.Note that this is not necessarilythe same as the domain name used by DNS.
  4. Select whether you want the client to be able to find aNIS server by broadcasting.This allows the client to bind to any server on the local subnetprovided that it serves the same NIS domain.
  5. Enter an optional list of IP addresses or domain names for theNIS servers to which the client can bind.These servers need not be on the local subnet but they must bein the same NIS domain.For each server, click on Add to add it to the list.NOTE:The domain names entered for the NIS serversmust be resolvable to IP addresses usingentries in the client's /etc/hosts file or using DNS.
  6. Click on OK to exit.
NOTE:This procedure modifies the files /etc/inet/nis.conf and/var/yp/binding/domainname/ypservers.

See also:

  • ``Setting up NIS clients for broadcasting''

Configuring name service resolution order

To configure the order of the name services that a client willuse for resolving domain names and IP addresses:

  1. SelectServices Configuring name service, NIS, and NTP clients (11) Name resolution orderin the Client Manager.
  2. Select a service from the Available services list, and click onAdd to add it to the Configured services list.

    To remove a configured service, select itfrom the Configured services list,and click on Remove.

  3. The list of configured services is in the order in which they will be triedwhen a client tries to resolve a hostname or IP address.If necessary, use Promote and Demote to change theorder of the services.The default order is NIS, /etc/hosts, and DNS.
  4. Click on OK to exit.
NOTE:This procedure modifies the file /etc/netconfig.Seenetconfig(4bnu)for a description of the format of this file.

Some client applications may choose to ignore the specified order,and use their preferred method for name resolution instead.

Configuring an NTP client

To configure an NTP client using the Client Manager:

  1. If the host is not already configured as an NTP client,selectServices Configuring name service, NIS, and NTP clients (12) Add Configuring name service, NIS, and NTP clients (13) NTP.

    If the host is already configured as an NTP client,click on NTP client in the services listed,and then selectServices Configuring name service, NIS, and NTP clients (14) Modify.

  2. Select how you want the client to behave:

    Listen for time broadcasts
    The client will listen passively for, and attempt to synchronize with,NTP packets being broadcast by time servers on the local network.

    Poll time servers for time
    The client will actively poll the listed time servers for the time, andattempt to synchronize with them.

    Enter the IP addresses or hostnames of each time server,and click on Add to add it to the list.


    Set clock at boot time
    If set to Yes, the client will attempt to synchronize its clockat boot time with the listed time servers. This is a ``step'' changerather than a gradual ``slewed'' change. If set to No, the clientwill not attempt to synchronize its clock at boot time.
  3. Click on OK to exit.
NOTE:This procedure modifies the files/etc/inet/ntp.conf and /etc/inet/config.Seexntpd(1Mtcp)andconfig(4tcp)for a description of the format of these files.

Deleting a client service

To remove the configuration for a service using the ClientManager:

  1. Click on the service to be removed from those listed, and then selectServices Configuring name service, NIS, and NTP clients (15) Delete.
  2. Click on OK to confirm.
NOTE:It is not possible to remove the /etc/hosts file using theClient Manager.This is to prevent accidental deletion of the host's loopback address.

Using network tools

The Client Manager provides a graphicalinterface to the following commands:

  • fingerto find out information about a user.
  • nslookupto find out an IP address from a hostname or a hostname froman IP address.
  • pingto see if a host is alive.
  • tracerouteto trace the route taken by packets to reach a host.
  • whoisto look up a name in the Internet user name directory service.

Finding information about a user

To find out more information about a user:

  1. SelectTools Configuring name service, NIS, and NTP clients (16) Fingerin the Client Manager.
  2. Enter the name of the user and click on Finger.To interrupt the query, click on Stop.
  3. Click on Close to exit.

See also:

  • finger(1tcp)

Looking up a hostname or an IP address

To look up the IP address corresponding to a hostname, orthe hostname corresponding to an IP address:

  1. SelectTools Configuring name service, NIS, and NTP clients (17) Host lookupin the Client Manager.
  2. Enter the hostname or IP addressof the host and click on Query.To interrupt the query, click on Stop.
  3. Click on Close to exit.

See also:

  • nslookup(1Mtcp)

Pinging other network hosts

To see if another network host is alive:

  1. SelectTools Configuring name service, NIS, and NTP clients (18) Pingin the Client Manager.
  2. Enter the hostname or IP addressof the host.
  3. To change the interval in seconds between packets or the number of packetsthat will be sent, click on Options, change the default valuesand click on OK.
  4. Click on Ping to start sending packets.To interrupt the sending of packets, click on Stop.
  5. Click on Close to exit.

See also:

  • ping(1Mtcp)

Tracing the route taken by network packets

To trace the route that network packets take to reach a host:

  1. SelectTools Configuring name service, NIS, and NTP clients (19) Trace routein the Client Manager.
  2. Enter the hostname or IP address of the host.
  3. To set various trace options, click on Options.To change the maximum time in seconds that your host willwait for a response, or to set the maximum number of hopsbefore the trace will be terminated, click on Options,change the default values, and click on OK.
  4. Click on Trace to start the trace.To interrupt the trace, click on Stop.
  5. Click on Close to exit.

See also:

  • traceroute(1Mtcp)

Looking up a name in the Internet user name directory service

To find out more information about a user who has an entryin the Internet user name directory service:

  1. SelectTools Configuring name service, NIS, and NTP clients (20) Whoisin the Client Manager.
  2. Enter the name of the user.
  3. To change the whois server (default is rs.internic.net),click on Options, enter the new server name, and click onOK.
  4. Click on Query to start the query.To interrupt the query, click on Stop.
  5. Click on Close to exit.

See also:

  • whois(1tcp)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004

Top Articles

Latest Posts

Article information

Author: Laurine Ryan

Last Updated: 11/22/2022

Views: 6515

Rating: 4.7 / 5 (57 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Laurine Ryan

Birthday: 1994-12-23

Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

Phone: +2366831109631

Job: Sales Producer

Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.