From owner-freebsd-stable Wed Dec 4 11:46:50 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13B8837B401 for ; Wed, 4 Dec 2002 11:46:49 -0800 (PST) Received: from eurus.primus.ca (mail.tor.primus.ca [216.254.136.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79E1143E4A for ; Wed, 4 Dec 2002 11:46:48 -0800 (PST) (envelope-from 937863@primus.ca) Received: from dialin-131-198.hamilton.primus.ca ([209.90.131.198] helo=BirdOfPrey) by eurus.primus.ca with esmtp (Exim 3.33 #16) id 18JfTl-00075f-0A for freebsd-stable@freebsd.org; Wed, 04 Dec 2002 14:46:42 -0500 From: "Allan Jude" <937863@primus.ca> To: Subject: RE: DNS query from public IP though localhost specified Date: Wed, 4 Dec 2002 14:46:44 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <20021204104103.F56412@oolong.il.thewrittenword.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Disposition-Notification-To: "Allan Jude" <937863@primus.ca> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Connecting to any of your ips from your own box, will route through localhost (netstat -rn) -----Original Message----- From: owner-freebsd-stable@FreeBSD.ORG [mailto:owner-freebsd-stable@FreeBSD.ORG] On Behalf Of Albert Chin Sent: Wednesday, December 04, 2002 11:41 AM To: freebsd-stable@freebsd.org Subject: DNS query from public IP though localhost specified I have a multihomed FreeBSD 4.6-STABLE box with two public IPs on xl0 and one private IP on xl1. The hostname corresponds to the private IP on xl1. This box acts as a nameserver running BIND 9.2.1 and /etc/resolv.conf is configured as: search [internal domain] [external domain] nameserver 127.0.0.1 If I try to ssh to this host from another box and have "tcpdump -i lo0" running, I get tcpdump output indicating: 18:16:48.342762 [public hostname].1572 > [public hostname].domain: 19465+ PTR? [rev internal ip].in-addr.arpa. (43) 18:16:48.343292 [public hostname].domain > [public hostname].1572: 19465 Refused 0/0/0 (43) 18:16:48.346175 localhost.[internal domain].1573 > localhost.[internal domain].domain: 12661+ PTR? [rev internal ip].in-addr.arpa. (43) 18:16:48.346555 localhost.[internal domain].domain > localhost.[internal domain].1573: 12661* 1/1/1 PTR[|domain] It seems that only ssh causes this behaviour. ftpd causes only localhost lookups. So, why am I seeing queries from the public IP on xl0 while listening on lo0 -- albert chin (china@thewrittenword.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message