yup, host.conf has ============= hosts bind ============= in this order. unfortunately host.conf is no longer used. it creates a file called nsswitch.conf and in it I have the same but written in a different way ============= names: files dns ============= as I said the strangest thing is that ppp works fine but as soon as I enable named in the rc.conf it hangs at startup. and the other way around, when I enable named and disable ppp machine starts fine... the only way is to use the work around... I am totally confused...
----- Original Message ----- From: "Lars Eighner" <[EMAIL PROTECTED]> To: "DJ Boris" <[EMAIL PROTECTED]> Cc: "freebsd-questions" <[EMAIL PROTECTED]> Sent: Friday, March 14, 2003 2:40 AM Subject: Re: user-ppp, named and squid > On Fri, 14 Mar 2003, DJ Boris wrote: > > > hi there, > > > > I have a freeBSD 5.0 RELEASE machine acting as a Dial-Up router and proxy > > for a LAN with 1 ISP Dial-Up account. I have user-ppp, named and squid. > > when all are enabled in the rc.conf file the machine hangs at boot time just > > before it says "i386 initialisation" or something like that.... Then I press > > Ctrl-C and everything carries on and I can log in but immediately after that > > ppp dials out. named only forwards requests to the ISP's DNS and in > > named.conf I have set dialup to yes. > > The work around is to only enable ppp and start the other services once I > > log in but as soon as I start named for example it dials out. after the ppp > > timeout expires modem disconnects and everything comes to normal. then I > > start squid and the same thing happens, dials out, timeout expires and all > > is OK. > > Does anyone know what I can do to stop those two named and squid from doing > > that... or maybe there is an option in ppp.conf... I have read everything > > and tried everything - still no luck. may be I am missing something. > > > > thanx > > Just a thought, but are you certain that in host.conf you > have: > > hosts > bind > > in that exact order, not the other way around, and that > the hosts file is correct? > > > -- > Lars Eighner > [EMAIL PROTECTED] -finger for geek code- > http://www.io.com/~eighner/index.html > 600 E 53RD ST APT 119 AUSTIN TX 78751 > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message