From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9068264d61698be89ea612b62212f186@plan9.bell-labs.com> From: David Presotto To: 9fans@cse.psu.edu Subject: Re: [9fans] dhcp & metanames In-Reply-To: <200403071313.i27DDrDh079473@adat.davidashen.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-jnazevpncwlmprfmhbksnzpnia" Date: Sun, 7 Mar 2004 08:23:49 -0500 Topicbox-Message-UUID: 1e264014-eacd-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-jnazevpncwlmprfmhbksnzpnia Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit First of all, dom in our world is an FQDN. That means that both .home.davidashen.net and .davidachen.net are wrong. We ask dhcp for a hostname and a domain. For the latter, dhcp's seem to differ in what they give back, i.e., the FQDN of the machine, the FQDN domain name that the machine is in, or that FQDN starting with a '.'. Ipconfig tries to deal with the situation, clearly not well enough. I'll try to do better but, if the server doesn't return the hostname, its hard to guess. the dom=.davidashen.net clearly indicates that we only got the domain and not the hostname. This is a effect of the spread of windows where the hostname is always in local storage and diskless boot is not really considered. I'll try to do better in ipconfig. --upas-jnazevpncwlmprfmhbksnzpnia Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Sun Mar 7 08:15:31 EST 2004 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Sun Mar 7 08:15:28 EST 2004 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 44CC419C37; Sun, 7 Mar 2004 08:15:17 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 0032F19BFE; Sun, 7 Mar 2004 08:15:12 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 4BE5C19B09; Sun, 7 Mar 2004 08:14:56 -0500 (EST) Received: from adat.davidashen.net (unknown [217.113.20.242]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id E229719B58 for <9fans@cse.psu.edu>; Sun, 7 Mar 2004 08:14:53 -0500 (EST) Received: from adat.davidashen.net (localhost.davidashen.net [127.0.0.1]) by adat.davidashen.net (8.12.8p1/8.12.8) with ESMTP id i27DDriq079474 for <9fans@cse.psu.edu>; Sun, 7 Mar 2004 17:13:53 +0400 (AMT) (envelope-from dvd@adat.davidashen.net) Received: (from dvd@localhost) by adat.davidashen.net (8.12.8p1/8.12.8/Submit) id i27DDrDh079473 for 9fans@cse.psu.edu; Sun, 7 Mar 2004 17:13:53 +0400 (AMT) From: David Tolpin Message-Id: <200403071313.i27DDrDh079473@adat.davidashen.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] dhcp & metanames In-Reply-To: Content-Type: text/plain; charset=KOI8-R Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Sun, 7 Mar 2004 17:13:53 +0400 (AMT) X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psuvax1.cse.psu.edu X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Level: /net/ndb: ip=192.168.1.28 ipmask=255.255.255.0 ipgw=192.168.1.1 dom=.davidashen.net dns=192.168.1.1 /lib/ndb/local: sys=xotic ether=0002a5561d54 proto=il ip=192.168.1.28 ipmask=255.255.255.0 dom=.home.davidashen.net Shouldn't dom in /net/ndb be .home.davidashen.net? David --upas-jnazevpncwlmprfmhbksnzpnia--