Re: PUzzling sshd behaviour
From: Simon L. Nielsen (simon_at_FreeBSD.org)
Date: 09/05/03
- Previous message: Ted Faber: "Re: PUzzling sshd behaviour"
- In reply to: Dwayne MacKinnon: "Re: PUzzling sshd behaviour"
- Next in thread: Dwayne MacKinnon: "Re: PUzzling sshd behaviour"
- Reply: Dwayne MacKinnon: "Re: PUzzling sshd behaviour"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 5 Sep 2003 19:11:27 +0200 To: Dwayne MacKinnon <Dwayne.MacKinnon@xwave.com>
On 2003.09.05 12:29:10 -0400, Dwayne MacKinnon wrote:
> Ted Faber wrote:
> >On Fri, Sep 05, 2003 at 12:04:04PM -0400, Dwayne MacKinnon wrote:
> >
> >>That much I know. I was just wondering why the daemon is trying DNS
> >>lookup when the IP in question is listed in /etc/hosts. I thought
> >>listings in /etc/hosts would supercede the need for a DNS lookup. Of
> >>course, I could be wrong... it wouldn't be the first time. :-)
> >
> >
> >If you haven't you need to check out /etc/host.conf , the file that
> >configures the hostname lookup order (at least on 4.8).
> >man 5 host.conf will tell you all about it. If you have already
> >configured this, you might want to look again. (man -k resolver should
> >help you find whatever it is on 5.x - I suspect it's nsswitch.)
>
> My host.conf is a FreeBSD 4.8 default one: it lists hosts, then bind.
> That's why I don't understand why it's doing DNS... there's a listing in
> hosts, and according to host.conf the hosts listing should be found first.
Do you use Privilege Separation? That can give interesting results with
DNS due to chroot into /var/empty... see the mailing lists archives.
-- Simon L. Nielsen FreeBSD Documentation Team
- application/pgp-signature attachment: stored
- Previous message: Ted Faber: "Re: PUzzling sshd behaviour"
- In reply to: Dwayne MacKinnon: "Re: PUzzling sshd behaviour"
- Next in thread: Dwayne MacKinnon: "Re: PUzzling sshd behaviour"
- Reply: Dwayne MacKinnon: "Re: PUzzling sshd behaviour"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|