Subject: Re: install/22044: missing domainname in rc.conf
To: Noriyuki Soda <soda@sra.co.jp>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-bugs
Date: 07/11/2003 00:05:12
>>> Can you tell me more (or point me to some references) about it being
>>> harmful if domainname is set when NIS is not used?
>
>Some (old?) implementations of NIS open a TCP socket to access ypbind
>at every call of name-service-related functions (e.g. getpwent(),
>gethostbyname()), even if the access failed every time due to absence
>of ypbind and YP servers. This takes significant cost especially on
>heavy loaded servers.

isn't this a bit of a weak argument, considering that we're talking
about netbsd in particular, not systems in general?

>So, I don't think it's good thing to set `domainname' in an
>environment without NIS in general.

perhaps.  all i know is that it never hurt me, and i've always been
happy.  then again...that could be the medication.  ;-)

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."