Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2001 09:55:19 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
To:        kwc@world.std.com (Kenneth W Cochran)
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Strange localhost NS look attempts
Message-ID:  <200104041655.JAA16666@gndrsh.dnsmgr.net>
In-Reply-To: <200104041635.MAA00043@world.std.com> from Kenneth W Cochran at "Apr 4, 2001 12:35:22 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> >From owner-freebsd-stable@FreeBSD.ORG  Wed Apr  4 11:46:09 2001
> >From: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
> >Subject: Re: Strange localhost NS look attempts
> >To: at@rominet.net (Alain Thivillon)
> >Date: Wed, 4 Apr 2001 08:45:12 -0700 (PDT)
> >Cc: freebsd-stable@FreeBSD.ORG
> >
> >[Charset iso-8859-1 unsupported, filtering to ASCII...]
> >> Kenneth W Cochran <kwc@world.std.com> _crivait (wrote) :
> >>
> >> > Agreed, I think it has more to do with the nameserver.  But
> >> > maybe Yet Another Netscape Problem?  Any idea(s) as to a fix?
> >>
> >> This is because answer of DNS server comes back after the resolver
> >> timeout : query socket is closed and kernel log a connection attempt.
> >
> >Does anyone see a huge descrepancy in these two contants:
> >named/ns_defs.h:#define RETRY_TIMEOUT   45
> >br1.reply.net:root {176}# grep -i timeout /usr/include/resolv.h
> >#define RES_TIMEOUT             5       /* min. seconds between retries */
> >
> >Our systems log 10 of thousands of these UDP port 53 vain connections,
> >and now I see clearly why.  If your not running a local named you only
> 
> But I *do* run a local named, cache-only though.  But
> discounting that, shouldn't the resolver be getting that
> from /etc/hosts anyway?  (/etc/host.conf is "as-installed,"
> hosts followed by bind.)

local or remote named, the situation should be the same, just the
IP address of the vain UDP 53 connections will be 127.0.0.1 for
a local server, and X.X.X.X for a remote server.  The code works
the same either way.

I don't know why your talking about /etc/hosts, that shouldn't
have any data in it anyway, except perhaps localhost (and you
don't need that if you have your DNS setup correctly).

root {194}# host localhost
localhost.reply.net has address 127.0.0.1

root {196}# cat /etc/host.conf
# $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
# First try the /etc/hosts file
#hosts
# Now try the nameserver next.
bind
# If you have YP/NIS configured, uncomment the next line
# nis


-- 
Rod Grimes - KD7CAX @ CN85sl - (RWG25)               rgrimes@gndrsh.dnsmgr.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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