From owner-freebsd-current@FreeBSD.ORG Tue Nov 11 12:08:58 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 166EA16A4CE for ; Tue, 11 Nov 2003 12:08:58 -0800 (PST) Received: from wind.mindcry.org (nat-gr.wmis.net [216.109.194.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 383F543FF9 for ; Tue, 11 Nov 2003 12:08:57 -0800 (PST) (envelope-from david@wind.mindcry.org) Received: from wind.mindcry.org (wind.mindcry.org [127.0.0.1]) by wind.mindcry.org (8.12.10/8.12.10) with ESMTP id hABK8ufV046849 for ; Tue, 11 Nov 2003 15:08:56 -0500 (EST) (envelope-from david@wind.mindcry.org) Received: (from david@localhost) by wind.mindcry.org (8.12.10/8.12.10/Submit) id hABK8uPl046848 for current@freebsd.org; Tue, 11 Nov 2003 15:08:56 -0500 (EST) (envelope-from david) Date: Tue, 11 Nov 2003 15:08:55 -0500 From: David Hill To: current@freebsd.org Message-ID: <20031111200855.GB597@phobia.ms> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.5.1i Subject: hostname lookup issue X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 20:08:58 -0000 X-List-Received-Date: Tue, 11 Nov 2003 20:08:58 -0000 Hello - I seem to not be able to get the IP address of a site. I am guessing its an issue with gethostbyname() and have a - at the end of the hostname... Both mozilla and ping cannot resolve the address. However, I works just fine using Windows and IE. I am not sure if this is just a FreeBSD issue or not. # ping mandrake-.deviantart.com ping: cannot resolve mandrake-.deviantart.com: Unknown server error wind# nslookup mandrake-.deviantart.com Server: ns2.attbi.com Address: 216.148.227.68 Name: mandrake-.deviantart.com Address: 66.28.104.19 # uname -a FreeBSD localhost 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Nov 11 13:34:21 EST 2003 david@localhost:/usr/src/sys/i386/compile/WIND i386