From owner-freebsd-questions Sat Jun 23 19:42:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 3E14037B408 for ; Sat, 23 Jun 2001 19:42:55 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a210.otenet.gr [212.205.215.210]) by mailsrv.otenet.gr (8.11.1/8.11.1) with ESMTP id f5O2gqx22763; Sun, 24 Jun 2001 05:42:52 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.4/8.11.3) id f5O2gm610584; Sun, 24 Jun 2001 05:42:48 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 24 Jun 2001 05:42:46 +0300 From: Giorgos Keramidas To: Odhiambo Washington Cc: freebsd-questions@FreeBSD.ORG Subject: Re: [OT] Domain names that are just numbers -- what's this?? Message-ID: <20010624054246.B8150@hades.hell.gr> References: <3B31292E.8EC9C976@iowna.com> <20010620184659.M91984@happy.cow.org> <3B312E9C.23E1178D@iowna.com> <20010621090240.H25711@everest.wananchi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010621090240.H25711@everest.wananchi.com>; from wash@wananchi.com on Thu, Jun 21, 2001 at 09:02:40AM +0300 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html 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 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 21, 2001 at 09:02:40AM +0300, Odhiambo Washington wrote: > In 4.3-STABLE I also get; >=20 >=20 > wash:~$ ping -c 1 808517866170 > ping: cannot resolve 808517866170: Unknown host >=20 > wash:~$ traceroute 808517866170 > traceroute: unknown host 808517866170 >=20 > Seems like we're the only victims ;-) In the sources of 5.0-CURRENT CVSup'ed tonight (which has the same `problem', if one may call it that) it appears that this error message is printed by the code of /usr/src/sbin/ping/ping.c when it does: 434 hp =3D gethostbyname2(target, AF_INET); 435 if (!hp) 436 errx(EX_NOHOST, "cannot resolve %s: %s", 437 target, hstrerror(h_errno)); The problem is with some change in the implementation of gethostbyname2(), and I will look into that code to see what causes this `different' behavior. I am not sure if we *do* want this to work though, regardless of what other operating systems do. -giorgos --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7NVOkzk2rLMllOhwRAuoBAKCLCdGMgmxG5Kq+mux3GY95LiomIgCeOZ+s J9GSP1xadJwyF2HH2zIeUTA= =psWw -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message