Does NIS master server know how many NIS slave server it has configured in it's domain?

Posted on 2009-04-28
Last Modified: 2013-12-27
Does NIS master server know how many NIS slave server it has configured in it's domain? So incase of newly built 'map' one can transfer from NIS master server to all the NIS slave server. or can we request new map from the Slave server? Thanks!
Question by:beer9
    LVL 38

    Accepted Solution

    Have a look at /var/yp/binding/`domainname`/ypservers  file, it contains both master and slave names. also have a look at:  /var/yp/`domainname`/ypservers
    In your NIS client, use "ypwhich" command to find out which NIS server you are currently bound
    man ypwhich
    to learn more details.
    Have a look at the following NIS FAQ to learn how:


    Author Comment

    I am not  /var/yp/`domainname`/ypservers  file in NIS master server, though I can see these files. Still I can't figure out how many NIS slave servers are configures in the domain via the NIS master server. Please let me know if I am missing something here. Thanks!
    bash-3.00# ls -l  /var/yp/`domainname`/ypservers*
    -rw-------   1 root     root           0 Dec 16 01:41 /var/yp/
    -rw-------   1 root     root        1024 Dec 16 01:41 /var/yp/

    Open in new window


    Author Closing Comment

    Thank you :-)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
    My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (, discussed installing the Solaris Operating S…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now