Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Oct 2001 11:30:52 +0930
From:      "Thyer, Matthew" <Matthew.Thyer@dsto.defence.gov.au>
To:        "Georg-W. Koltermann" <gwk@sgi.com>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, bandix@looksharp.net, current@freebsd.org
Subject:   Re: NIS client performance seems very poor under network load
Message-ID:  <3BC108D4.2AA1D712@dsto.defence.gov.au>
References:  <20010928022500.I24843-100000@turtle.looksharp.net> <3BBAD3F3.241A1FEE@dsto.defence.gov.au> <15291.10120.604882.602699@grasshopper.cs.duke.edu> <3BBBE105.9863D667@dsto.defence.gov.au> <15292.24342.741023.939305@grasshopper.cs.duke.edu> <3BBD6015.9EB74634@dsto.defence.gov.au> <lthzo767cb1.wl@hunter.munich.sgi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Georg-W. Koltermann" wrote:
> 
> You know, I have been using and NSD, at work on IRIX.  I had trouble
> with it, it sometimes wouldn't sync with the nameserver, or would
> cease to serve any names until I HUPed it.

I dont have such problems.  Patch or upgrade to 6.5.13.

IRIX 6.5's nsd is the name service daemon.  It does the lookups be they
via DNS, NIS or whatever.

> And, seriously, I don't really understand what it's good for.  Bind
> has been responsible for resolving host names as long as I know.  WHY
> would anyone want to use NIS for hostname resolution?

I never said I use NIS for hostname resolution (and I dont) but I still
need NIS to work for user and group lookups.

You misunderstand the purpose of IRIX nsd and Solaris nscd, they are
not solely for NIS.  They are for caching results of all types of
naming service lookups be it hosts, passwd, services and by all type
of methods e.g. DNS, NIS, NIS+ whatever.

If you look at your IRIX 6.5.X NIS client, you'll see that it doesn't
run a process called ypbind.  The functionality of ypbind has been
incorporated into nsd.  From the nis(7p) manual page:

NOTE
     The daemon nsd(1M) uses this library to replace the ypbind daemon from
     previous IRIX releases.  Similarly, nsd uses the nisserv(7P) library to
     replace the ypserv daemon from previous releases.

> I always configure the resolver to use bind (aka named), and have NIS
> resolve passwd, group, alias maps etc. if I need that functionality.
> When I'm worried about network load, I run a local named in caching
> only mode.

None of that solves the user and group use of NIS problem.

>             Named makes a nice system-wide cache, it is maintained
> well, so why bother and write another daemon for that?

A system-wide cache for hostname resolution via DNS only.

-- 
 Matthew Thyer                                 Phone:  +61 8 8259 7249
 Science Corporate Information Systems         Fax:    +61 8 8259 5537
 Defence Science and Technology Organisation, Edinburgh
 PO Box 1500 Edinburgh South Australia 5111

 IMPORTANT: This email remains the property of the Australian Defence
 Organisation and is subject to the jurisdiction of section 70 of the
 CRIMES ACT 1914.  If you have received this email in error, you are
 requested to contact the sender and delete the email.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BC108D4.2AA1D712>