From owner-freebsd-isp Wed Oct 30 18:50:44 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA19531 for isp-outgoing; Wed, 30 Oct 1996 18:50:44 -0800 (PST) Received: from nemesis.idirect.com (root@nemesis.idirect.com [207.136.80.40]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA19526 for ; Wed, 30 Oct 1996 18:50:42 -0800 (PST) Received: from karma.idirect.com (glimpsenet4.idirect.com [207.136.85.4]) by nemesis.idirect.com (8.6.9/8.6.12) with SMTP id VAA02807; Wed, 30 Oct 1996 21:50:31 -0500 Date: Wed, 30 Oct 1996 21:51:41 +0000 () From: Jay Lixfeld To: John-Mark Gurney cc: freebsd-isp@freebsd.org Subject: Re: caching nameserver problems... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 30 Oct 1996, John-Mark Gurney wrote: > On Wed, 30 Oct 1996, Jason Lixfeld wrote: > > > > > > this sounds like you have bind before hosts in your /etc/resolv.conf... > > > move hosts before that... and make sure that all your names you use are > > > listed in /etc/hosts... > > > > > > > Great! I'll give it a try! I'm pretty sure that it is bind, then hosts > > in /etc/resolv.conf tho!?! > > that is the default.... with hosts first it will check /etc/hosts before > going to the name server (to then fail)... let me know if it works.... > 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) > > 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! HELP! :) Jason Lixfeld