Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 1996 22:33:28 -0800 (PST)
From:      John-Mark Gurney <jmg@nike.efn.org>
To:        Jay Lixfeld <carrera@idirect.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: caching nameserver problems...
Message-ID:  <Pine.NEB.3.95.961030222948.394A-100000@nike>
In-Reply-To: <Pine.BSF.3.95.961030214632.215A-100000@karma.idirect.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Oct 1996, Jay Lixfeld wrote:

> Well, if you look below, you will see my /etc/host.conf file:
> 
> # $Id: host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp $
> # Default is to use the nameserver first
> # bind
> hosts
> # If that doesn't work, then try the /etc/hosts file
> # hosts
> bind
> # If you have YP/NIS configured, uncomment the next line
> # nis
> 
> It originally said bind before hosts.  I changed it as per the person who
> told me about caching nameservers.  It is setup correctly..  here is
> the lines in my /etc/rc that cause the system to lag..  it looks as tho
> sendmail is screwing things up.  I thing that it is trying to send mail
> somewhere, but can't because the network connection is not made yet
> because it is dialup!:
> 
> This is the first place it hangs..
> 
> # Recover vi editor files.
> virecovery=`echo /var/tmp/vi.recover/recover.*`
> if [ "$virecovery" != '/var/tmp/vi.recover/recover.*' ]; then
>         echo 'Recovering vi editor sessions'
>         for i in $virecovery; do
>                 sendmail -t < $i
>         done
> fi
> 
> After 5 minutes or so, it moves on to the second hanging point which is:
> 
> # $sendmail_flags is imported from /etc/sysconfig;
> # if $sendmail_flags is something other than NO, sendmail is run.
> if [ "X${sendmail_flags}" != X"NO" -a -r /etc/sendmail.cf ]; then
>         echo -n ' sendmail';            /usr/sbin/sendmail
> ${sendmail_flags}
> fi
> 
> As you can see, sendmail is in both those lines.  I beleive it is
> sendmail, but I have no idea how to fix it!

make sure that the results of hostname is listed in /etc/hosts...  hope
this fixes it...  ttyl...

John-Mark

gurney_j@efn.org
http://resnet.uoregon.edu/~gurney_j/
Modem/FAX: (541) 683-6954   (FreeBSD Box)

Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.961030222948.394A-100000>