Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 1997 20:16:51 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        h.wickhorst@elmshorn.netsurf.de
Cc:        questions@FreeBSD.ORG
Subject:   Re: user PPP and BIND 
Message-ID:  <199706291916.UAA02578@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Sun, 29 Jun 1997 14:49:41 %2B0200." <199706291249.OAA01756@thor.wnet> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706291916.UAA02578>