From owner-freebsd-current Sun Oct 7 19: 8:42 2001 Delivered-To: freebsd-current@freebsd.org Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by hub.freebsd.org (Postfix) with ESMTP id 81AEA37B406 for ; Sun, 7 Oct 2001 19:08:36 -0700 (PDT) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.10.1/8.10.1) with ESMTP id f9827v818885 for ; Mon, 8 Oct 2001 11:37:57 +0930 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au (Content Technologies SMTPRS 4.1.5) with ESMTP id ; Mon, 8 Oct 2001 11:36:17 +0930 Received: from salex001.dsto.defence.gov.au (salex001.dsto.defence.gov.au [131.185.2.9]) by muttley.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id LAA26083; Mon, 8 Oct 2001 11:30:54 +0930 (CST) Received: from fang.dsto.defence.gov.au ([131.185.2.5]) by salex001.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 4AVVTCC5; Mon, 8 Oct 2001 11:30:51 +0930 Received: from dsto.defence.gov.au (fuzz.dsto.defence.gov.au [131.185.75.229]) by fang.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id LAA20285; Mon, 8 Oct 2001 11:30:48 +0930 (CST) Message-ID: <3BC108D4.2AA1D712@dsto.defence.gov.au> Date: Mon, 08 Oct 2001 11:30:52 +0930 From: "Thyer, Matthew" X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: "Georg-W. Koltermann" Cc: Andrew Gallatin , bandix@looksharp.net, current@freebsd.org Subject: Re: NIS client performance seems very poor under network load 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "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