[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xemacs 20.3 slow load



> On Mon, 09 Feb 1998 10:40:18 EST, Jean Pierre LeJacq wrote:
> > On Mon, 9 Feb 1998, Daniel Martin at cush wrote:
> > 
> > > Hmm... - it appears that xemacs is attempting to do a dns lookup, and
> > > that's the connection that's taking so long.  If you had a bo machine, 
> > > I'd ask you what your /etc/host.conf said, (and make certain it had
> > > the line "order hosts,bind" at the top) but I know that in hamm the 
> > > configuration for name lookups has changed a bit - does anyone know
> > > what you need to do on a hamm box to be certain that gethostbyname()
> > > doesn't produce a dns query if a given name is found in /etc/hosts?
> > 
> > I needed to add an entry into /etc/nswitch.conf.
> 
> What specifically did you add?

Here's my nswitch.file:

  passwd:         files
  group:          files
  shadow:         files
  gshadow:        files

  hosts:          files dns
  networks:       files dns

  protocols:      files
  services:       files
  rpc:            files

Its important to have files before dns for hosts entry.

-- 
Jean Pierre



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: