From owner-freebsd-questions Sun Mar 16 12:17:28 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEF5437B401 for ; Sun, 16 Mar 2003 12:17:25 -0800 (PST) Received: from supermail.mweb.co.za (supermail.mweb.co.za [196.2.53.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2718443F75 for ; Sun, 16 Mar 2003 12:17:24 -0800 (PST) (envelope-from dj_boris@mail.ru) Received: from [196.7.205.244] (helo=d) by supermail.mweb.co.za with smtp (Exim 3.22 #1) id 18ueUq-0004hG-00; Sun, 16 Mar 2003 22:12:41 +0200 Message-ID: <001801c2ebf8$fd243320$f4cd07c4@d> From: "DJ Boris" To: Cc: "freebsd-questions" References: <001f01c2ebc5$b67c7690$85cd07c4@d> <3E74B1B3.1080306@potentialtech.com> <006701c2ebe8$359a2630$f4cd07c4@d> <200303161441.47888.tcornpropst@cox.net> Subject: Re: how can I stop named to dial out at startup Date: Sun, 16 Mar 2003 22:16:53 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :)) down in South Africa it is still very expensive to have broadband, although it is cheaper in the long run but the installation costs are horrible and a lot of businesses are still reluctant to get it :)) it will take sometime. back to the *problem* in hosts I have all my internal machines' IP's and my loopback. all is fine I can ping any machine on the LAN and all LAN machines can ping me without ppp dialing out. in resolv.conf I have nameservers 127.0.0.1 hm, I am thinking I will just switch off named and tell squid to use the ISP's DNS. I don't really need a DNS for a 5 PC LAN even just DNS forwarding. BUT I will try your way as well and let you know what happens. thanx ----- Original Message ----- From: "Trevor S. Cornpropst" To: "DJ Boris" Cc: "freebsd-questions" Sent: Sunday, March 16, 2003 9:41 PM Subject: Re: how can I stop named to dial out at startup > On Sunday 16 March 2003 13:16, DJ Boris wrote: > > I have supress-initial-notify set to yes as well... no change. > > my DNS forwarders do require a dial out to reach but I don't see why this > > should happen when I start up named. > > Up until now I was using a Windows NT4 server and I had a programme called > > WinRoutePro http://www.infoware.be/en/winroute/index.htm. I was using its > > DNS forwarder, its proxy server and its mail server to download mail from > > one ISP account with 5 alised email addresses and then users could collect > > it from the NT4 machine using a POP3 client. > > now I am trying to do all this with a freeBSD box. none of this was > > happening on the NT4 machine with WinRoutePro and that is why I am > > confused. I do want DNS forwarding to trigger DNS requests but why is it > > happening when I start named. I don't shutdown my DNS server often. this is > > just one little thing that is very annoying and I thought it was something > > small that I was missing. > > > > the reason that I start named manually and not from rc.conf is because if I > > put it in rc.conf the machine hangs at startup and I have to do Crtl-C in > > otder to get to the login prompt. when I disable it in rc.conf everything > > is OK... I presume is it because named tries to dial as soon as it starts > > when the machine hasn't started all its services.... (I might be wrong > > about this one) so this is a workaround. or may be it is something else > > ?!?!? > > Apologies, I didn't understand your problem in the first reply. You are > correct "dialup yes" in your named.conf is not going to help as you are only > runnlng a caching server, so you won't need to do zone transfers. > > I'm thinking your named is trying to sort some things out when it starts, > hence the hang. Do you have anything in /etc/hosts or /etc/resolv.conf? BB > (before broadband) I used to run a similar configuration but I always defined > an internal zone for my network and never experienced this type of hang. > Other than that, my config was always straight forward. (i.e. set up my > internal zone, forward all other requests to my ISP) > > Trevor Cornpropst > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message