From owner-freebsd-net Sun Oct 13 22: 0:38 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76A1637B401; Sun, 13 Oct 2002 22:00:36 -0700 (PDT) Received: from samwise.jobeus.net (samwise.jobeus.net [205.206.125.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 954C843EB2; Sun, 13 Oct 2002 22:00:35 -0700 (PDT) (envelope-from freebsd@jobeus.net) Received: (from root@localhost) by samwise.jobeus.net (8.12.6/8.12.3) id g9E50RwI095512; Sun, 13 Oct 2002 23:00:27 -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 g9E50QDo095504; Sun, 13 Oct 2002 23:00:26 -0600 (MDT) (envelope-from freebsd@jobeus.net) Date: Sun, 13 Oct 2002 23:00:26 -0600 (MDT) From: Scott Carmichael To: freebsd-net@freebsd.org, Subject: IP resolving Message-ID: <20021013225806.M95476-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-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Can someone help me here? Is there a code change I can make somewhere? Please CC me on any replies, as I am not subscribed to -net or -hackers. Thanks, Scott ---------- Forwarded message ---------- Date: Fri, 11 Oct 2002 14:14:08 -0600 (MDT) From: Scott Carmichael To: freebsd-questions@FreeBSD.ORG Subject: IP resolving 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message