From owner-freebsd-hackers Fri Aug 11 18:56:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from galima.2y.net (HSE-Toronto-ppp174193.sympatico.ca [64.229.66.100]) by hub.freebsd.org (Postfix) with ESMTP id 2B17437BA48 for ; Fri, 11 Aug 2000 18:56:27 -0700 (PDT) (envelope-from cactoss@yahoo.com) Received: from localhost (cactoss@localhost) by galima.2y.net (8.9.3/8.9.3) with ESMTP id VAA00691 for ; Fri, 11 Aug 2000 21:57:51 -0400 (EDT) (envelope-from cactoss@yahoo.com) X-Authentication-Warning: galima.2y.net: cactoss owned process doing -bs Date: Fri, 11 Aug 2000 21:57:50 -0400 (EDT) From: Alexander Anderson To: freebsd-hackers@freebsd.org Subject: localhost cannot be resolved Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello everyone! I sent this question to freebsd-questions, but no one had replied, so I decided to try my luck here. I'm having trouble resolving "localhost" for telnet and fetchmail. All other programs (ftp, rlogin, rsh, ping, lynx) seem to understand "localhost". I'm going to include my configuration files. Please tell me if you'd like to get more info on something. > cat /etc/hosts 127.0.0.1 localhost localhost.my.domain myname.my.domain ::1 localhost localhost.my.domain myname.my.domain > cat /etc/host.conf hosts bind > cat /etc/resolv.conf nameserver 209.226.175.224 nameserver 204.101.251.2 All looks right, does it? Now, when I run telnet or fetchmail, they complain. > telnet localhost localhost: No address associated with hostname > echo $? 1 > fetchmail 9 messages for MYUSERNAME at pop.mail.yahoo.com (64648 octets). reading message 1 of 9 (13403 octets) .fetchmail: SMTP connect to localhost failed fetchmail: SMTP transaction error while fetching from pop.mail.yahoo.com fetchmail: Query status=SMTP > echo $? 10 At the same time fetchmail causes ipfw to produce these messages: Aug 11 21:41:47 mydomain /kernel: Connection attempt to TCP ::0001:25 from ::0001:1063 Aug 11 21:41:47 mydomain /kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:1065 Aug 11 21:41:47 mydomain /kernel: Connection attempt to TCP ::0001:25 from ::0001:1066 Aug 11 21:41:47 mydomain /kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:1067 Actually, could someone tell me, what does ::0001 mean? Should this be in /etc/hosts with an alias of localhost? These strange things started to happen soon after I cvsup'ed ports-all and reinstalled libtool. I also compiled firewall support into the kernel a few days ago. Just in case any of this might be related to the problem. Thank you all for any suggestions! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message