From owner-freebsd-questions Fri Oct 11 13:14:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CF2A37B401 for ; Fri, 11 Oct 2002 13:14:17 -0700 (PDT) Received: from samwise.jobeus.net (samwise.jobeus.net [205.206.125.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E8BC43EA3 for ; Fri, 11 Oct 2002 13:14:16 -0700 (PDT) (envelope-from freebsd@jobeus.net) Received: (from root@localhost) by samwise.jobeus.net (8.12.6/8.12.3) id g9BKEACv030567 for freebsd-questions@freebsd.org; Fri, 11 Oct 2002 14:14:10 -0600 (MDT) (envelope-from freebsd@jobeus.net) Received: from localhost (freebsd@localhost [127.0.0.1]) by samwise.jobeus.net (8.12.6/8.12.3av) with ESMTP id g9BKE8Do030557 for ; Fri, 11 Oct 2002 14:14:08 -0600 (MDT) (envelope-from freebsd@jobeus.net) Date: Fri, 11 Oct 2002 14:14:08 -0600 (MDT) From: Scott Carmichael To: freebsd-questions@freebsd.org Subject: IP resolving Message-ID: <20021011140309.C30465-100000@samwise.jobeus.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I would like to know two things... Why FreeBSD acts in the following way while OpenBSD does not, and if it's possible to fix this? It seems that if anyone connects to my FreeBSD server wish a hostname that does not match their IP, I get a console message about the mismatch, and then if they connect via rlogin or ssh, 'who', 'w', 'last', etc. all report that they are connected _from_ MY box, which they aren't. This is annoying for a few reasons... A. I don't know where people are connecting from, B. When I get a console message for every time a user connects to pop3 to check their email and they check it every 5 minutes, 24 hours a day, I miss good important messages, and C. It used to resolve to IPs instead of hostnames when this occurred when I ran OpenBSD last year. An example of what I mean about the 'unresolving IPs' is the following: At school, the Computer Science department runs a DNS server with two views, inside and outside. If you're off-campus, you can't resolve, say "zone34wb.cpsc.ucalgary.ca", but if you're on campus, this will resolve properly. When I connect to my computer at home from this computer, 'w' will instead report: 2:11PM up 1 day, 2:28, 1 user, load averages: 1.15, 1.06, 1.01 USER TTY FROM LOGIN@ IDLE WHAT jobe p0 samwise 1:53PM - w Where 'samwise' is the name of my computer. Temporarily, this is solvable by editing my /etc/hosts file to include all the Computers I know in the Computer Science department, but alas, it happens with other users as well that are on various ISPs around the country. Can I fix this? At least so that 'who' or 'w' will report the IP addresses instead of just giving up? And can I get rid of the console messages? Thanks a ton, Scott Carmichael http://jobeus.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message