From owner-freebsd-isp Sun Jun 17 19:31:10 2001 Delivered-To: freebsd-isp@freebsd.org Received: from mail.gtw.net (mail.gtw.net [208.33.253.12]) by hub.freebsd.org (Postfix) with SMTP id 21A6137B405 for ; Sun, 17 Jun 2001 19:30:58 -0700 (PDT) (envelope-from john@day-light.com) Received: (qmail 5529 invoked from network); 18 Jun 2001 02:30:15 -0000 Received: from 115.pm3.gtw.net (HELO w1) (208.207.98.115) by mail.gtw.net with SMTP; 18 Jun 2001 02:30:15 -0000 Reply-To: From: "John Brooks" To: Subject: IP resolving to Octal Date: Sun, 17 Jun 2001 21:25:39 -0500 Message-ID: <000501c0f79d$ff696fc0$0b00a8c0@dle> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I assisted a friend to setup a new FreeBSD4.3 box (the first in his network). Network has 50+ linux boxes resolving from hosts files in this format (don't ask me why, it's his format): 010.000.010.012 charity.cs.domain.edu 010.000.010.013 patience.cs.domain.edu 010.000.010.014 virtue.cs.domain.edu ... On linux this apparently worked, on BSD it gets converted to octal and returned in dotted decimal. "charity" resolved to an IP of 8.0.8.10 instead of 10.0.10.12. Anyway, we worked through all issues first and then set up DNS which is working properly - he now thinks BSD is "way cool". My question is why would BSD and Linux interpret the same hosts file in such a different manner? Which should be considered the correct behavior? -- John Brooks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message