*BSD News Article 51208


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!fu-berlin.de!alaska.zedat.fu-berlin.DE!not-for-mail
From: tschach@zedat.fu-berlin.de (Carsten Tschach)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: tcsh and named
Date: 18 Sep 1995 19:23:57 GMT
Organization: Freie Universitaet Berlin
Lines: 55
Message-ID: <43kh0d$84a@fu-berlin.de>
NNTP-Posting-Host: alaska.zedat.fu-berlin.de (130.133.1.18)
X-Access: 16 17 18

Hi,

I've a problem with the named running on my FreeBSD 2.0.5 host. This host
will be connected to the internet soon, but is a local network now.

In /etc/host.conf the order is 'hosts ... bind', so that he can resolv
local hostnamed directly. As soon as I start the named everything slows down.

When I start tcsh it needs minutes to finish loading. When I look at the
named-debug I found:

	req: nlookup() id 512 type=1
	req: missed '' as '' (cname=0)

Why does the tcsh need to call a nlookup? csh didn't this and starts as 
fast as normal.

When you did a rlogin from another host on the LAN it takes hour's
before you will be prompted for the password. In named-debug I found

	req: nlookup(#localhost.infoconcept.de) id 256 type=1
	req: found '#localhost.infoconcept.de' as 'infoconcept.de' (cname=0)
	[...]
	req: nlookup(#localhost) id 512 type=1
	req: missed '#localhost' as '' (cname=0)
	[...]
	req: nlookup(#my_very_good_friend.domain) id 768 type=1
	req: missed '#my_very_good_friend.domain' as '' (cname=0)
	[...]
	req: nlookup(#my_very_good_friend.domain.infoconcept.de) id 1024 type=1
	req: found '#my_very_good_friend.domain.infoconcept.de' as 'infoconcept.de' (cname=0)

Yes, my local domain is 'infoconcept.de' but the host from which the rlogin
came does appear in /etc/hosts, so there is no nlookup neccessary.

The dalay time may result from the long timeout conncecting one of the
root nameservers.

I really don't want to user a nlookup when I login from local hosts, because
every nsrequest will dial out and cost me money.

I also like to know where or what the "#my_very_good_friend.domain" come
from.


Thanks for your help,

Carsten Tschach


--
-------------------------------+-----------------------------------------------
   Carsten Tschach             |  Freie Universitaet Berlin 
   tschach@zedat.fu-berlin.de  |  Zentraleinrichtung fuer Datenverarbeitung
   tschach@www.fu-berlin.de    |  WWW-Admin of http://www.fu-berlin.de/