*BSD News Article 37629


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!news.adelaide.edu.au!yoyo.aarnet.edu.au!goliath.camtech.com.au!gateway.dircsa.org.au!cleese.apana.org.au!apanix.apana.org.au!hart
From: hart@apanix.apana.org.au (Leigh Hart)
Newsgroups: comp.os.386bsd.questions
Subject: Re: BIND drives me nuts
Date: 7 Nov 94 03:59:29 GMT
Organization: Apanix Public Access Unix, +61 8 373 5485 (5 lines)
Lines: 47
Message-ID: <hart.784180769@apanix.apana.org.au>
References: <Cyv8Bz.vL@luva.lb.bawue.de>
NNTP-Posting-Host: seldon.apanix.apana.org.au

migieger@luva.lb.bawue.de (Michael Giegerich) writes:


>I have here on the local side a mini network composed of only two
>systems: setha (BSDI-1.1) and luva (FreeBSD-1.1.5.1 & patches).
>Both are connected to remote system nadia via sporadic slip con-
>nections between luva and nadia.


> local setha <=====ed0=====> local luva <-----sl0-----> remote nadia


>I have to configure either the resolver or named (preferred) in
>order to connect to the outside world (via slip).

>Now the problem: if the slip connection isn't active (99 % of the
>time) a simple `telnet setha' needs between 2..3 minutes to be
>built because either the resolver or the nameserver are queried
>endless times before the connaect is actually made, grrrrr.

>Is there any workaround? (Please no answers like connect forever
>to the world :-)

/etc/host.conf:
hosts
bind

/etc/hosts (on both)

x.y.z.1	setha
x.y.z.2	luva
x.y.z.3	nadia

whatever else you want also :)

This will check /etc/hosts first for name lookups, then bind.

Not sure if this works for reverse mappings.... *shrug*

Cheers

Leigh
--
| "By the time they had diminished | Leigh Hart                |
|  from 50 to 8, the other dwarves | <hart@eppie.apana.org.au> |
|  began to suspect 'Hungry' ..."  | C/- 195 Gilles Street     |
|   -- Gary Larson, "The Far Side" | Adelaide  SA  5006        |