From owner-freebsd-questions Sun Jun 29 12:27:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA14358 for questions-outgoing; Sun, 29 Jun 1997 12:27:05 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA14333 for ; Sun, 29 Jun 1997 12:27:00 -0700 (PDT) Received: from awfulhak.demon.co.uk (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id UAA02578; Sun, 29 Jun 1997 20:16:52 +0100 (BST) Message-Id: <199706291916.UAA02578@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: h.wickhorst@elmshorn.netsurf.de cc: questions@FreeBSD.ORG Subject: Re: user PPP and BIND In-reply-to: Your message of "Sun, 29 Jun 1997 14:49:41 +0200." <199706291249.OAA01756@thor.wnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 29 Jun 1997 20:16:51 +0100 From: Brian Somers Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi, > > i have some trouble with user PPP (dial on demand) and BIND (named) > on a 2.2.1 box. > > I am going to run my own nameserver for a local network. > Another reason is, that sendmail complains the dynamic IP-address > I've got from my provider after a connect. > Running the nameserver helps a lot, sendmail now gets a hostname > for the IP address without redialing to the provider. > > In my host.conf file i have: > hosts > bind > > My resolv.conf looks like: > nameserver my_ip_address > nameserver my_providers_ip_address > > When booting, the system 'hangs' for a long time after the network > devices have been configured. It not really hangs, it tries to resolv > the addresses of the static routes. (route thor.wnet localhost etc.) > I thought that it should use the hosts file instead, because named is > not running at that early time. > The only way to bring it to normal behavior is to comment out my own > nameserver from resolv.conf. > > What is wrong ? Experiment with your entries in /etc/hosts - you may need to put a '.' at the end of the name, so for example, if I am x.y.z, on IP i.i.i.i, I'd need i.i.i.i x.y.z. x. i.i.i.i x.y.z x Having said that, you're better off always using IP numbers in rc.conf - never names. > Thanks, > Henning > -- > ------------------------------------------------------------------ > Henning Wickhorst > Elmshorn, Germany E-Mail: h.wickhorst@elmshorn.netsurf.de > ------------------------------------------------------------------ -- Brian , Don't _EVER_ lose your sense of humour....