From owner-freebsd-questions Thu Jul 26 11:29:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mx0.ecxnetwork.net (mx0.ecxnetwork.net [208.144.33.2]) by hub.freebsd.org (Postfix) with ESMTP id 833BB37B408 for ; Thu, 26 Jul 2001 11:29:18 -0700 (PDT) (envelope-from JHilgeman@ecx.com) Received: from mailsvr.ecx.com (ecx-irv-ns100.ecxnetwork.net [208.144.33.1] (may be forged)) by mx0.ecxnetwork.net (8.11.3/8.11.3) with ESMTP id f6QIJXU06326 for ; Thu, 26 Jul 2001 11:19:34 -0700 (PDT) (envelope-from JHilgeman@ecx.com) Received: by mailsvr.ecx.com with Internet Mail Service (5.5.2653.19) id ; Thu, 26 Jul 2001 11:28:55 -0700 Message-ID: <5D90F61EB6FDD411836500508B137F1A2689C5@mailsvr.ecx.com> From: Jonathan Hilgeman To: "'freebsd-questions@FreeBSD.ORG'" Subject: Host name lookup failure Date: Thu, 26 Jul 2001 11:28:54 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Hi, I just installed Webmin on my FreeBSD 4.2 box, and tried to update CPAN via its Perl module interface, but the output says that it can't see ftp.perl.org when it tries to fetch something. So I went back to the shell and tried the following: su-2.04# ping perl.org ping: cannot resolve perl.org: Host name lookup failure su-2.04# ping ftp.perl.org ping: cannot resolve ftp.perl.org: Unknown server error su-2.04# ping ftp.perl.com PING www.perl.com (208.201.239.56): 56 data bytes 64 bytes from 208.201.239.56: icmp_seq=0 ttl=52 time=47.158 ms 64 bytes from 208.201.239.56: icmp_seq=1 ttl=52 time=69.657 ms ^C --- www.perl.com ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 47.158/58.407/69.657/11.249 ms su-2.04# host perl.com perl.com has address 208.201.239.56 perl.com mail is handled (pri=0) by mail.perl.com su-2.04# host perl.org perl.org mail is handled (pri=12801) by perlmail.valueclick.com perl.org mail is handled (pri=12816) by lux.valueclick.com su-2.04# host ftp.perl.org ftp.perl.org is a nickname for ftp.perl.org.develooper.com ftp.perl.org.develooper.com is a nickname for ftp.cpan.ddns.develooper.com ftp.cpan.ddns.develooper.com has address 206.253.222.50 ftp.cpan.ddns.develooper.com mail is handled (pri=10) by miette.develooper.com ftp.cpan.ddns.develooper.com mail is handled (pri=11) by relaybackup.netcetera.dk How come I can access perl.com but not perl.org? I can access both in my browser in Windows on the very same network! Does it have something to do with my /etc/hosts file? This is what I have in it: ::1 localhost localhost.ecx.com devbox.ecx.com 127.0.0.1 localhost localhost.ecx.com devbox.ecx.com Then... su-2.04# hostname localhost.ecx.com su-2.04# cat /etc/rc.conf # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. # Enable network daemons for user convenience. # -- sysinstall generated deltas -- # ifconfig_fxp0="DHCP" hostname="localhost.ecx.com" # kern_securelevel="2" # kern_securelevel_enable="YES" sendmail_enable="YES" sshd_enable="YES" portmap_enable="NO" nfs_server_enable="NO" inetd_enable="YES" usbd_enable="YES" # -- sysinstall generated deltas -- # named_flags="-c /etc/namedb/named.conf -u bind -g bind" named_enable="YES" Any ideas why I'd be getting that error? I tried typing in hostname 127.0.0.1 on the command line per the suggestion of a friend, and I was able to start Apache as a standalone server (which I couldn't before), but nothing else seems to have changed. - Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message