Re: (long) tcpd compilation options and forced reverse lookup
- To: Dominik Kubla <dominik.kubla@uni-mainz.de>
- Cc: Edouard Lafargue <edouard.lafargue@london.omnes.slb.com>, James Bromberger <james@rcpt.to>, Pawel Wiecek <coven-debian-devel@debian.org>, debian-devel@lists.debian.org
- Subject: Re: (long) tcpd compilation options and forced reverse lookup
- From: Nils Rennebarth <nils@ipe.uni-stuttgart.de>
- Date: Wed, 13 Jun 2001 18:33:14 +0200
- Message-id: <[🔎] 20010613183314.F20918@ipe.uni-stuttgart.de>
- Mail-followup-to: Dominik Kubla <dominik.kubla@uni-mainz.de>, Edouard Lafargue <edouard.lafargue@london.omnes.slb.com>, James Bromberger <james@rcpt.to>, Pawel Wiecek <coven-debian-devel@debian.org>, debian-devel@lists.debian.org
- In-reply-to: <[🔎] 20010613180423.A9450@intern.kubla.de>; from dominik.kubla@uni-mainz.de on Wed, Jun 13, 2001 at 06:04:23PM +0200
- References: <edouard.lafargue@london.omnes.slb.com> <[🔎] 20010613150437.28500.qmail@cthulhu.rlyeh.org> <[🔎] 20010613231851.C249771@morwong.ucc.gu.uwa.edu.au> <[🔎] 87k82g1ja1.fsf@gryffindor.localnet> <[🔎] 20010613180423.A9450@intern.kubla.de>
On Wed, Jun 13, 2001 at 06:04:23PM +0200, Dominik Kubla wrote:
> On Wed, Jun 13, 2001 at 04:39:18PM +0100, Edouard Lafargue wrote:
> > That's the very problem: even with hosts in /etc/hosts, the resolver still seems to do DNS queries for reverse-lookups! It's the case for every program that does "gethostbyname", really.
> >
> > /etc/host.conf:
>
> > hosts: files dns
> ^^^
> RTFM (nsswitch.conf(5) to be precise)! Remove "dns" or use:
>
> files [NOTFOUND=return] dns
>
> which is nearly equivalent (dns would only be used if /etc/hosts was
> unavailable: makes no sense to me, but...)
but if /etc/hosts is e.g. like this
192.168.6.1 hosta.domain.org hosta
192.168.6.2 hostb.domain.org hostb
why do reverse lookups with fail for "files"?
Nils
--
______
(Muuuhh)
Global Village Sau ==> ^..^ |/¯¯¯¯¯
(Kann Fremdsprache) ==> (oo)
Attachment:
pgpXTJYDT7DX4.pgp
Description: PGP signature
Reply to: